Colour to colour

Plum to Dark Sea Green gradient

Plum (#dda0dd) into Dark Sea Green (#8fbc8f) — 178° 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 178° > 140° — interpolating in oklch (shorter hue) keeps the midpoint saturated.

Plum → Dark Sea Green
black text · worst 9.73:1 · AA
white 2.06 failsblack 9.73 AAbanding high

OKLab and OKLCH, side by side

Aa

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.

white 2.06 failsblack 9.72 AAbanding high
css
linear-gradient(135deg in oklab, #dda0dd 0%, #8fbc8f 100%)
Aa

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.

white 2.06 failsblack 9.73 AAbanding high
css
linear-gradient(135deg in oklch shorter hue, #dda0dd 0%, #8fbc8f 100%)

And the sRGB line most tools draw, for comparison — the number is the chroma that survives at the dullest point.

sRGB0%
OKLab1%
OKLCH85%

Eased and mesh

Aa

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.

white 2.06 failsblack 9.73 AAbanding high
css
linear-gradient(135deg in oklch shorter hue, #dda0dd 0%, #df9fda 8.28%, #e39ed1 16.03%, #e99cc3 23.35%, #ed9bb1 30.32%, #ee9b9d 37.03%, #eb9f89 43.56%, #e2a479 50%, #d5aa6f 56.44%, #c4b06f 62.97%, #b4b575 69.68%, #a5b97e 76.65%, #99bb87 83.97%, #92bc8d 91.72%, #8fbc8f 100%)
Aa

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.

white 2.08 failsblack 9.77 AAbanding high
css
background-color: #b9b0b7;
background-image: radial-gradient(circle farthest-corner at 19.41% 14.46%, rgba(221, 160, 221, 0.751) 0%, rgba(221, 160, 221, 0) 52.61%), radial-gradient(circle farthest-corner at 60.42% 83.41%, rgba(143, 188, 143, 0.758) 0%, rgba(143, 188, 143, 0) 49.82%);
background-image: radial-gradient(circle farthest-corner at 19.41% 14.46%, oklch(from #dda0dd l c h / 0.7512) 0%, rgb(from #dda0dd r g b / 0) 52.61%), radial-gradient(circle farthest-corner at 60.42% 83.41%, oklch(from #8fbc8f l c h / 0.7582) 0%, rgb(from #8fbc8f r g b / 0) 49.82%);

Report

  • white ink: worst 2.06:1 at 1% (fails AA); black ink: worst 9.73:1 at 97% (AA) → use black text.
  • Banding high: ~18px bands at 1440px — add grain 37 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(135deg, #dda0dd 0%, #e59dce 7.14%, #eb9bbe 14.29%, #ee9bae 21.43%, #ee9b9e 28.57%, #ed9d90 35.71%, #e8a083 42.86%, #e2a479 50%, #d9a872 57.14%, #cfac6e 64.29%, #c3b06f 71.43%, #b7b473 78.57%, #a9b87b 85.71%, #9cba84 92.86%, #8fbc8f 100%);
  background-image: linear-gradient(135deg in oklch shorter hue, #dda0dd 0%, #8fbc8f 100%);
}
tailwind v4
bg-linear-to-br/oklch from-[#dda0dd] to-[#8fbc8f]
svg
<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="#dda0dd"/><stop offset="7.14%" stop-color="#e59dce"/><stop offset="14.29%" stop-color="#eb9bbe"/><stop offset="21.43%" stop-color="#ee9bae"/><stop offset="28.57%" stop-color="#ee9b9e"/><stop offset="35.71%" stop-color="#ed9d90"/><stop offset="42.86%" stop-color="#e8a083"/><stop offset="50%" stop-color="#e2a479"/><stop offset="57.14%" stop-color="#d9a872"/><stop offset="64.29%" stop-color="#cfac6e"/><stop offset="71.43%" stop-color="#c3b06f"/><stop offset="78.57%" stop-color="#b7b473"/><stop offset="85.71%" stop-color="#a9b87b"/><stop offset="92.86%" stop-color="#9cba84"/><stop offset="100%" stop-color="#8fbc8f"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "plum-to-darkseagreen": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.867,
            0.627,
            0.867
          ],
          "hex": "#dda0dd"
        },
        "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, #dda0dd 0%, #8fbc8f 100%)",
        "interpolation": "oklch",
        "hue": "shorter",
        "angle": 135,
        "name": "plum-to-darkseagreen",
        "contrast": {
          "white": {
            "ratio": 2.065,
            "at": 0.0073,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 9.734,
            "at": 0.9709,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Plum to Dark Sea Green, interpolated in oklch."
  }
}

More from Plum

mcpConnect your agent to the gradient engine
live endpoint

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.

endpointhttps://mcp.brandsweets.com/gradients/mcp
claude mcp add --transport http brandsweets-gradients https://mcp.brandsweets.com/gradients/mcp
try this prompt

make a plum 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