Colour to colour
Periwinkle to Dark Khaki gradient
Periwinkle (#ccccff) into Dark Khaki (#bdb76b) — 180° 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 180° > 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, #ccccff 0%, #bdb76b 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, #ccccff 0%, #bdb76b 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, #ccccff 0%, #cecbfe 8.28%, #d3c7fb 16.03%, #dac2f5 23.35%, #e3bceb 30.32%, #ebb6db 37.03%, #f1b0c8 43.56%, #f4acb1 50%, #f2ab9a 56.44%, #ebac86 62.97%, #e1af77 69.68%, #d4b26e 76.65%, #c9b56b 83.97%, #c0b66b 91.72%, #bdb76b 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: #c4c3b9; background-image: radial-gradient(circle farthest-corner at 11.33% 13.11%, rgba(189, 183, 107, 0.728) 0%, rgba(189, 183, 107, 0) 56.97%), radial-gradient(circle farthest-corner at 52.91% 20.06%, rgba(204, 204, 255, 0.738) 0%, rgba(204, 204, 255, 0) 55.04%); background-image: radial-gradient(circle farthest-corner at 11.33% 13.11%, oklch(from #bdb76b l c h / 0.7275) 0%, rgb(from #bdb76b r g b / 0) 56.97%), radial-gradient(circle farthest-corner at 52.91% 20.06%, oklch(from #ccccff l c h / 0.7379) 0%, rgb(from #ccccff r g b / 0) 55.04%);
Report
- white ink: worst 1.53:1 at 1% (fails AA); black ink: worst 10.14:1 at 98% (AA) → use black text.
- Banding high: ~10px bands at 1440px — add grain 20 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(135deg, #ccccff 0%, #d4c6fa 7.14%, #ddc0f2 14.29%, #e4bbe8 21.43%, #eab6dc 28.57%, #efb2cf 35.71%, #f3afc0 42.86%, #f4acb1 50%, #f3aba2 57.14%, #f0ab93 64.29%, #eaac85 71.43%, #e3ae79 78.57%, #d8b171 85.71%, #ccb46c 92.86%, #bdb76b 100%);
background-image: linear-gradient(135deg in oklch shorter hue, #ccccff 0%, #bdb76b 100%);
}bg-linear-to-br/oklch from-[#ccccff] to-[#bdb76b]
<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="#ccccff"/><stop offset="7.14%" stop-color="#d4c6fa"/><stop offset="14.29%" stop-color="#ddc0f2"/><stop offset="21.43%" stop-color="#e4bbe8"/><stop offset="28.57%" stop-color="#eab6dc"/><stop offset="35.71%" stop-color="#efb2cf"/><stop offset="42.86%" stop-color="#f3afc0"/><stop offset="50%" stop-color="#f4acb1"/><stop offset="57.14%" stop-color="#f3aba2"/><stop offset="64.29%" stop-color="#f0ab93"/><stop offset="71.43%" stop-color="#eaac85"/><stop offset="78.57%" stop-color="#e3ae79"/><stop offset="85.71%" stop-color="#d8b171"/><stop offset="92.86%" stop-color="#ccb46c"/><stop offset="100%" stop-color="#bdb76b"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"periwinkle-to-darkkhaki": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.8,
0.8,
1
],
"hex": "#ccccff"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.741,
0.718,
0.42
],
"hex": "#bdb76b"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(135deg in oklch shorter hue, #ccccff 0%, #bdb76b 100%)",
"interpolation": "oklch",
"hue": "shorter",
"angle": 135,
"name": "periwinkle-to-darkkhaki",
"contrast": {
"white": {
"ratio": 1.535,
"at": 0.006,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 10.145,
"at": 0.9841,
"passesAA": true,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "Periwinkle to Dark Khaki, interpolated in oklch."
}
}More from Periwinkle
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 periwinkle to dark khaki 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