Colour to colour

Eggplant to Teal gradient

Eggplant (#614051) into Teal (#008080) — 153° 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 153° > 140° — interpolating in oklch (shorter hue) keeps the midpoint saturated.

Eggplant → Teal
white text · worst 4.77:1 · AA
white 4.77 AAblack 2.36 failsbanding 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 4.77 AAblack 2.36 failsbanding high
css
linear-gradient(135deg in oklab, #614051 0%, #008080 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 4.77 AAblack 2.36 failsbanding high
css
linear-gradient(135deg in oklch shorter hue, #614051 0%, #008080 100%)

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

sRGB30%
OKLab22%
OKLCH71%

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 4.77 AAblack 2.36 failsbanding high
css
linear-gradient(135deg in oklch shorter hue, #614051 0%, #614053 8.28%, #624258 16.03%, #62445f 23.35%, #604869 30.32%, #5d4d73 37.03%, #57537e 43.56%, #4e5b87 50%, #42638c 56.44%, #346b8e 62.97%, #24728d 69.68%, #137889 76.65%, #047c85 83.97%, #007f81 91.72%, #008080 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 6.35 AAblack 2.84 failsbanding low
css
background-color: #4e6168;
background-image: radial-gradient(circle farthest-corner at 11.08% 97.92%, rgba(0, 128, 128, 0.755) 0%, rgba(0, 128, 128, 0) 55.84%), radial-gradient(circle farthest-corner at 20.94% 54.42%, rgba(97, 64, 81, 0.768) 0%, rgba(97, 64, 81, 0) 55.4%);
background-image: radial-gradient(circle farthest-corner at 11.08% 97.92%, oklch(from #008080 l c h / 0.7546) 0%, rgb(from #008080 r g b / 0) 55.84%), radial-gradient(circle farthest-corner at 20.94% 54.42%, oklch(from #614051 l c h / 0.7677) 0%, rgb(from #614051 r g b / 0) 55.4%);

Report

  • white ink: worst 4.77:1 at 99% (AA); black ink: worst 2.36:1 at 0% (fails AA) → use white text.
  • Banding high: ~15px bands at 1440px — add grain 31 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(135deg, #614051 0%, #624259 7.14%, #614562 14.29%, #60496b 21.43%, #5d4d73 28.57%, #59517a 35.71%, #545681 42.86%, #4e5b87 50%, #47608b 57.14%, #3e668d 64.29%, #336b8e 71.43%, #27718d 78.57%, #18768b 85.71%, #087b86 92.86%, #008080 100%);
  background-image: linear-gradient(135deg in oklch shorter hue, #614051 0%, #008080 100%);
}
tailwind v4
bg-linear-to-br/oklch from-[#614051] to-[#008080]
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="#614051"/><stop offset="7.14%" stop-color="#624259"/><stop offset="14.29%" stop-color="#614562"/><stop offset="21.43%" stop-color="#60496b"/><stop offset="28.57%" stop-color="#5d4d73"/><stop offset="35.71%" stop-color="#59517a"/><stop offset="42.86%" stop-color="#545681"/><stop offset="50%" stop-color="#4e5b87"/><stop offset="57.14%" stop-color="#47608b"/><stop offset="64.29%" stop-color="#3e668d"/><stop offset="71.43%" stop-color="#336b8e"/><stop offset="78.57%" stop-color="#27718d"/><stop offset="85.71%" stop-color="#18768b"/><stop offset="92.86%" stop-color="#087b86"/><stop offset="100%" stop-color="#008080"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "eggplant-to-teal": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.38,
            0.251,
            0.318
          ],
          "hex": "#614051"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0,
            0.502,
            0.502
          ],
          "hex": "#008080"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(135deg in oklch shorter hue, #614051 0%, #008080 100%)",
        "interpolation": "oklch",
        "hue": "shorter",
        "angle": 135,
        "name": "eggplant-to-teal",
        "contrast": {
          "white": {
            "ratio": 4.768,
            "at": 0.9946,
            "passesAA": true,
            "passesAALarge": true
          },
          "black": {
            "ratio": 2.36,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Eggplant to Teal, interpolated in oklch."
  }
}

More from Eggplant

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 eggplant to teal 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