Colour to colour
Lilac to Dark Sea Green gradient
Lilac (#c8a2c8) into Dark Sea Green (#8fbc8f) — 179° apart on the OKLCH hue wheel. Below: the same two stops interpolated in OKLab and in OKLCH, side by side, because the difference is real and most generators never let you see it; then an eased version and a mesh, each with the worst-case contrast for white and black text. The engine's own pick for this pair is oklch: ΔH 179° > 140° — interpolating in oklch (shorter hue) keeps the midpoint saturated.
OKLab and OKLCH, side by side
OKLab
Open in maker →A straight line through the a/b plane: the two hues meet halfway and desaturate a little at the midpoint. The safe default — it is what CSS and Tailwind default to.
linear-gradient(135deg in oklab, #c8a2c8 0%, #8fbc8f 100%)
OKLCH (shorter hue)
Open in maker →Chroma and hue interpolate separately, so the midpoint keeps its saturation and the hue travels the short way round the wheel — richer, and it can pass through hues neither colour has.
linear-gradient(135deg in oklch shorter hue, #c8a2c8 0%, #8fbc8f 100%)
And the sRGB line most tools draw, for comparison — the number is the chroma that survives at the dullest point.
Eased and mesh
Eased (soft)
Open in maker →A cubic-bezier(.4, 0, .6, 1) mix ratio baked into 15 stops: the transition lingers on each colour and moves faster through the middle, which is what makes a gradient read as designed rather than default.
linear-gradient(135deg in oklch shorter hue, #c8a2c8 0%, #c9a2c6 8.28%, #cda0c1 16.03%, #d29fb9 23.35%, #d79ead 30.32%, #da9e9f 37.03%, #d9a090 43.56%, #d5a482 50%, #cca979 56.44%, #c0ae76 62.97%, #b2b379 69.68%, #a4b780 76.65%, #99ba87 83.97%, #92bc8d 91.72%, #8fbc8f 100%)
Mesh
Open in maker →Both colours as stacked radials over a base, laid out by a seeded Poisson-disc sampler — the same seed gives the same mesh forever. Exports as CSS, SVG and PNG.
background-color: #aeb0ad; background-image: radial-gradient(circle farthest-corner at 90.39% 83.09%, rgba(143, 188, 143, 0.844) 0%, rgba(143, 188, 143, 0) 47.85%), radial-gradient(circle farthest-corner at 81.93% 20.1%, rgba(200, 162, 200, 0.826) 0%, rgba(200, 162, 200, 0) 54.36%); background-image: radial-gradient(circle farthest-corner at 90.39% 83.09%, oklch(from #8fbc8f l c h / 0.8439) 0%, rgb(from #8fbc8f r g b / 0) 47.85%), radial-gradient(circle farthest-corner at 81.93% 20.1%, oklch(from #c8a2c8 l c h / 0.8257) 0%, rgb(from #c8a2c8 r g b / 0) 54.36%);
Report
- white ink: worst 2.15:1 at 99% (fails AA); black ink: worst 9.33:1 at 33% (AA) → use black text.
- Banding high: ~25px bands at 1440px — add grain 48 (≈3% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(135deg, #c8a2c8 0%, #cfa0bf 7.14%, #d49eb5 14.29%, #d89eaa 21.43%, #da9e9f 28.57%, #da9f95 35.71%, #d8a18b 42.86%, #d5a482 50%, #cfa77c 57.14%, #c8ab78 64.29%, #bfae77 71.43%, #b4b279 78.57%, #a9b67e 85.71%, #9cb985 92.86%, #8fbc8f 100%);
background-image: linear-gradient(135deg in oklch shorter hue, #c8a2c8 0%, #8fbc8f 100%);
}bg-linear-to-br/oklch from-[#c8a2c8] to-[#8fbc8f]
<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="210" y1="-210" x2="1230" y2="810"><stop offset="0%" stop-color="#c8a2c8"/><stop offset="7.14%" stop-color="#cfa0bf"/><stop offset="14.29%" stop-color="#d49eb5"/><stop offset="21.43%" stop-color="#d89eaa"/><stop offset="28.57%" stop-color="#da9e9f"/><stop offset="35.71%" stop-color="#da9f95"/><stop offset="42.86%" stop-color="#d8a18b"/><stop offset="50%" stop-color="#d5a482"/><stop offset="57.14%" stop-color="#cfa77c"/><stop offset="64.29%" stop-color="#c8ab78"/><stop offset="71.43%" stop-color="#bfae77"/><stop offset="78.57%" stop-color="#b4b279"/><stop offset="85.71%" stop-color="#a9b67e"/><stop offset="92.86%" stop-color="#9cb985"/><stop offset="100%" stop-color="#8fbc8f"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"lilac-to-darkseagreen": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.784,
0.635,
0.784
],
"hex": "#c8a2c8"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.561,
0.737,
0.561
],
"hex": "#8fbc8f"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(135deg in oklch shorter hue, #c8a2c8 0%, #8fbc8f 100%)",
"interpolation": "oklch",
"hue": "shorter",
"angle": 135,
"name": "lilac-to-darkseagreen",
"contrast": {
"white": {
"ratio": 2.146,
"at": 0.9917,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 9.332,
"at": 0.3281,
"passesAA": true,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "Lilac to Dark Sea Green, interpolated in oklch."
}
}More from Lilac
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
›make a lilac to dark sea green hero gradient in oklch that passes AA for white text, with grain if it bands
Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.
Machine-readable: gradients.md