Named gradient · WebGradients
Smart Indigo
Smart Indigo is a purple gradient from WebGradients (MIT) — #b224ef → #7579ff at 0°. 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 3.53:1 at 99% (AA-large only); black ink: worst 4.39:1 at 0% (AA-large only) → use black text.
- Body text fails AA everywhere on this gradient; large text (≥24px / 19px bold) is fine. Add a scrim or lower the chroma for body copy.
- Banding high: ~17px bands at 1440px — add grain 35 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(0deg, #b224ef 0%, #af2ff0 7.14%, #ac38f1 14.29%, #a840f2 21.43%, #a547f4 28.57%, #a14ef5 35.71%, #9d53f6 42.86%, #9959f7 50%, #955ef8 57.14%, #9063f9 64.29%, #8b68fa 71.43%, #866cfc 78.57%, #8171fd 85.71%, #7b75fe 92.86%, #7579ff 100%);
background-image: linear-gradient(0deg in oklab, #b224ef 0%, #7579ff 100%);
}bg-linear-to-t/oklab from-[#b224ef] to-[#7579ff]
<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="720" y1="600" x2="720" y2="0"><stop offset="0%" stop-color="#b224ef"/><stop offset="7.14%" stop-color="#af2ff0"/><stop offset="14.29%" stop-color="#ac38f1"/><stop offset="21.43%" stop-color="#a840f2"/><stop offset="28.57%" stop-color="#a547f4"/><stop offset="35.71%" stop-color="#a14ef5"/><stop offset="42.86%" stop-color="#9d53f6"/><stop offset="50%" stop-color="#9959f7"/><stop offset="57.14%" stop-color="#955ef8"/><stop offset="64.29%" stop-color="#9063f9"/><stop offset="71.43%" stop-color="#8b68fa"/><stop offset="78.57%" stop-color="#866cfc"/><stop offset="85.71%" stop-color="#8171fd"/><stop offset="92.86%" stop-color="#7b75fe"/><stop offset="100%" stop-color="#7579ff"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"smart-indigo": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.698,
0.141,
0.937
],
"hex": "#b224ef"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.459,
0.475,
1
],
"hex": "#7579ff"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(0deg in oklab, #b224ef 0%, #7579ff 100%)",
"interpolation": "oklab",
"angle": 0,
"name": "Smart Indigo",
"contrast": {
"white": {
"ratio": 3.53,
"at": 0.9944,
"passesAA": false,
"passesAALarge": true
},
"black": {
"ratio": 4.392,
"at": 0,
"passesAA": false,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "Smart Indigo (WebGradients, 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 Smart Indigo gradient (#b224ef, #7579ff), 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 WebGradients (MIT) — licences