Named gradient · WebGradients
Purple Division
Purple Division is a purple gradient from WebGradients (MIT) — #7028e4 → #e5b2ca 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 1.82:1 at 100% (fails AA); black ink: worst 3.11: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 medium: ~10px bands at 1440px — add grain 21 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(0deg, #7028e4 0%, #7639e3 7.14%, #7d47e2 14.29%, #8453e1 21.43%, #8c5de0 28.57%, #9467df 35.71%, #9c71dd 42.86%, #a47adc 50%, #ad82da 57.14%, #b68bd8 64.29%, #bf93d6 71.43%, #c89bd3 78.57%, #d2a3d0 85.71%, #dbaacd 92.86%, #e5b2ca 100%);
background-image: linear-gradient(0deg in oklab, #7028e4 0%, #e5b2ca 100%);
}bg-linear-to-t/oklab from-[#7028e4] to-[#e5b2ca]
<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="#7028e4"/><stop offset="7.14%" stop-color="#7639e3"/><stop offset="14.29%" stop-color="#7d47e2"/><stop offset="21.43%" stop-color="#8453e1"/><stop offset="28.57%" stop-color="#8c5de0"/><stop offset="35.71%" stop-color="#9467df"/><stop offset="42.86%" stop-color="#9c71dd"/><stop offset="50%" stop-color="#a47adc"/><stop offset="57.14%" stop-color="#ad82da"/><stop offset="64.29%" stop-color="#b68bd8"/><stop offset="71.43%" stop-color="#bf93d6"/><stop offset="78.57%" stop-color="#c89bd3"/><stop offset="85.71%" stop-color="#d2a3d0"/><stop offset="92.86%" stop-color="#dbaacd"/><stop offset="100%" stop-color="#e5b2ca"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"purple-division": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.439,
0.157,
0.894
],
"hex": "#7028e4"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.898,
0.698,
0.792
],
"hex": "#e5b2ca"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(0deg in oklab, #7028e4 0%, #e5b2ca 100%)",
"interpolation": "oklab",
"angle": 0,
"name": "Purple Division",
"contrast": {
"white": {
"ratio": 1.818,
"at": 1,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 3.113,
"at": 0,
"passesAA": false,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "Purple Division (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 Purple Division gradient (#7028e4, #e5b2ca), 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