Named gradient · uiGradients
Purplepine
Purplepine is a purple gradient from uiGradients (MIT) — #20002c → #cbb4d4 at 90°. Shown here interpolated in OKLab, next to the original sRGB, with the worst-case contrast for white and black text and every export.
Same stops, three spaces
The source renders this in sRGB. The number is how much chroma survives at the dullest point along the line — the difference between the first bar and the others is the grey that OKLab removes.
Report
- white ink: worst 1.91:1 at 100% (fails AA); black ink: worst 1.10:1 at 0% (fails AA) → use white text.
- Neither ink passes AA at the worst point — treat as decorative or add a scrim (rgba(0,0,0,.35) typically lifts white ink past 4:1).
- Banding medium: ~8px bands at 1440px — add grain 16 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #20002c 0%, #2b0a37 7.14%, #361742 14.29%, #41234d 21.43%, #4c2f59 28.57%, #583b64 35.71%, #644770 42.86%, #70547c 50%, #7d6188 57.14%, #896e94 64.29%, #967ca1 71.43%, #a38aad 78.57%, #b098ba 85.71%, #bda6c7 92.86%, #cbb4d4 100%);
background-image: linear-gradient(90deg in oklab, #20002c 0%, #cbb4d4 100%);
}bg-linear-to-r/oklab from-[#20002c] to-[#cbb4d4]
<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="600" viewBox="0 0 1440 600"><defs><linearGradient id="bs-gradient" gradientUnits="userSpaceOnUse" x1="0" y1="300" x2="1440" y2="300"><stop offset="0%" stop-color="#20002c"/><stop offset="7.14%" stop-color="#2b0a37"/><stop offset="14.29%" stop-color="#361742"/><stop offset="21.43%" stop-color="#41234d"/><stop offset="28.57%" stop-color="#4c2f59"/><stop offset="35.71%" stop-color="#583b64"/><stop offset="42.86%" stop-color="#644770"/><stop offset="50%" stop-color="#70547c"/><stop offset="57.14%" stop-color="#7d6188"/><stop offset="64.29%" stop-color="#896e94"/><stop offset="71.43%" stop-color="#967ca1"/><stop offset="78.57%" stop-color="#a38aad"/><stop offset="85.71%" stop-color="#b098ba"/><stop offset="92.86%" stop-color="#bda6c7"/><stop offset="100%" stop-color="#cbb4d4"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"purplepine": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.125,
0,
0.173
],
"hex": "#20002c"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.796,
0.706,
0.831
],
"hex": "#cbb4d4"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #20002c 0%, #cbb4d4 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Purplepine",
"contrast": {
"white": {
"ratio": 1.906,
"at": 1,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 1.098,
"at": 0,
"passesAA": false,
"passesAALarge": false
},
"suggestedInk": "#ffffff"
}
}
},
"$description": "Purplepine (uiGradients, MIT), rendered in OKLab."
}
}Tagged
More purple gradients
Point any MCP client at the shared gradients endpoint and your agent gets the same engine as this page — make_gradient returns CSS with the interpolation space, Tailwind v4, SVG, a PNG URL, a DTCG token and the contrast report in one call; brand_gradients derives the whole contact sheet from a brand or a palette. Read-only, no key. Every gradient is a /gradients/new/… link: open it, refine, paste it back.
https://mcp.brandsweets.com/gradients/mcpclaude mcp add --transport http brandsweets-gradients https://mcp.brandsweets.com/gradients/mcp
›take the Purplepine gradient (#20002c, #cbb4d4), re-interpolate it in oklch, and tell me the worst-case contrast for white text
Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.
Machine-readable: gradients.md · From uiGradients (MIT) — licences