Colour to colour · generated
Dark Khaki to Plum gradient
Dark Khaki (#bdb76b) into Plum (#dda0dd) — 138° 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 oklab — both colours are in the palette and the hue gap is small enough that the straight line stays clean.
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, #bdb76b 0%, #dda0dd 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, #bdb76b 0%, #dda0dd 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 oklab, #bdb76b 0%, #bdb76d 8.28%, #bfb673 16.03%, #c1b57b 23.35%, #c3b485 30.32%, #c6b291 37.03%, #c9b09d 43.56%, #cdaea9 50%, #d0abb4 56.44%, #d3a8bf 62.97%, #d7a6c9 69.68%, #d9a4d1 76.65%, #dba2d7 83.97%, #dda0dc 91.72%, #dda0dd 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: #cdaea9; background-image: radial-gradient(circle farthest-corner at 31.74% 12.05%, rgba(221, 160, 221, 0.775) 0%, rgba(221, 160, 221, 0) 53.2%), radial-gradient(circle farthest-corner at 37.44% 99.94%, rgba(189, 183, 107, 0.773) 0%, rgba(189, 183, 107, 0) 52.52%); background-image: radial-gradient(circle farthest-corner at 31.74% 12.05%, oklch(from #dda0dd l c h / 0.7749) 0%, rgb(from #dda0dd r g b / 0) 53.2%), radial-gradient(circle farthest-corner at 37.44% 99.94%, oklch(from #bdb76b l c h / 0.7726) 0%, rgb(from #bdb76b r g b / 0) 52.52%);
Report
- white ink: worst 2.05:1 at 59% (fails AA); black ink: worst 10.11:1 at 92% (AA) → use black text.
- Banding high: ~13px bands at 1440px — add grain 26 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(135deg, #bdb76b 0%, #bfb675 7.14%, #c1b57e 14.29%, #c4b387 21.43%, #c6b290 28.57%, #c8b199 35.71%, #caafa1 42.86%, #cdaea9 50%, #cfacb0 57.14%, #d1aab8 64.29%, #d4a8c0 71.43%, #d6a6c7 78.57%, #d8a4ce 85.71%, #dba2d6 92.86%, #dda0dd 100%);
background-image: linear-gradient(135deg in oklab, #bdb76b 0%, #dda0dd 100%);
}bg-linear-to-br/oklab from-[#bdb76b] to-[#dda0dd]
<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="#bdb76b"/><stop offset="7.14%" stop-color="#bfb675"/><stop offset="14.29%" stop-color="#c1b57e"/><stop offset="21.43%" stop-color="#c4b387"/><stop offset="28.57%" stop-color="#c6b290"/><stop offset="35.71%" stop-color="#c8b199"/><stop offset="42.86%" stop-color="#caafa1"/><stop offset="50%" stop-color="#cdaea9"/><stop offset="57.14%" stop-color="#cfacb0"/><stop offset="64.29%" stop-color="#d1aab8"/><stop offset="71.43%" stop-color="#d4a8c0"/><stop offset="78.57%" stop-color="#d6a6c7"/><stop offset="85.71%" stop-color="#d8a4ce"/><stop offset="92.86%" stop-color="#dba2d6"/><stop offset="100%" stop-color="#dda0dd"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"darkkhaki-to-plum": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.741,
0.718,
0.42
],
"hex": "#bdb76b"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.867,
0.627,
0.867
],
"hex": "#dda0dd"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(135deg in oklab, #bdb76b 0%, #dda0dd 100%)",
"interpolation": "oklab",
"angle": 135,
"name": "darkkhaki-to-plum",
"contrast": {
"white": {
"ratio": 2.054,
"at": 0.5873,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 10.11,
"at": 0.9206,
"passesAA": true,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "Dark Khaki to Plum, interpolated in oklab."
}
}More from Dark Khaki
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 dark khaki to plum 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