Named gradient · WebGradients
Lilac Sky
Lilac Sky is a purple gradient from WebGradients (MIT) — #e0c3fc → #8ec5fc at 120°. 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.57:1 at 0% (fails AA); black ink: worst 11.54:1 at 100% (AA) → use black text.
- Banding high: ~18px bands at 1440px — add grain 36 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(120deg, #e0c3fc 0%, #dbc3fc 7.14%, #d5c4fc 14.29%, #d0c4fc 21.43%, #cbc4fc 28.57%, #c5c4fc 35.71%, #c0c4fc 42.86%, #bac5fc 50%, #b4c5fc 57.14%, #aec5fc 64.29%, #a8c5fc 71.43%, #a2c5fc 78.57%, #9bc5fc 85.71%, #95c5fc 92.86%, #8ec5fc 100%);
background-image: linear-gradient(120deg in oklab, #e0c3fc 0%, #8ec5fc 100%);
}bg-linear-120/oklab from-[#e0c3fc] to-[#8ec5fc]
<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="50.0962" y1="-86.7691" x2="1389.9038" y2="686.7691"><stop offset="0%" stop-color="#e0c3fc"/><stop offset="7.14%" stop-color="#dbc3fc"/><stop offset="14.29%" stop-color="#d5c4fc"/><stop offset="21.43%" stop-color="#d0c4fc"/><stop offset="28.57%" stop-color="#cbc4fc"/><stop offset="35.71%" stop-color="#c5c4fc"/><stop offset="42.86%" stop-color="#c0c4fc"/><stop offset="50%" stop-color="#bac5fc"/><stop offset="57.14%" stop-color="#b4c5fc"/><stop offset="64.29%" stop-color="#aec5fc"/><stop offset="71.43%" stop-color="#a8c5fc"/><stop offset="78.57%" stop-color="#a2c5fc"/><stop offset="85.71%" stop-color="#9bc5fc"/><stop offset="92.86%" stop-color="#95c5fc"/><stop offset="100%" stop-color="#8ec5fc"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"lilac-sky": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.878,
0.765,
0.988
],
"hex": "#e0c3fc"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.557,
0.773,
0.988
],
"hex": "#8ec5fc"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(120deg in oklab, #e0c3fc 0%, #8ec5fc 100%)",
"interpolation": "oklab",
"angle": 120,
"name": "Lilac Sky",
"contrast": {
"white": {
"ratio": 1.569,
"at": 0,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 11.542,
"at": 1,
"passesAA": true,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "Lilac Sky (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 Lilac Sky gradient (#e0c3fc, #8ec5fc), 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