Colour to colour

Turquoise to Plum gradient

Turquoise (#40e0d0) into Plum (#dda0dd) — 141° 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 141° > 140° — interpolating in oklch (shorter hue) keeps the midpoint saturated.

Turquoise → Plum
black text · worst 10.13:1 · AA
white 1.64 failsblack 10.13 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 1.64 failsblack 10.12 AAbanding high
css
linear-gradient(135deg in oklab, #40e0d0 0%, #dda0dd 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 1.64 failsblack 10.13 AAbanding high
css
linear-gradient(135deg in oklch shorter hue, #40e0d0 0%, #dda0dd 100%)

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

sRGB43%
OKLab33%
OKLCH86%

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 1.64 failsblack 10.13 AAbanding high
css
linear-gradient(135deg in oklch shorter hue, #40e0d0 0%, #3ee0d3 8.28%, #39dedb 16.03%, #39dce6 23.35%, #44d7f3 30.32%, #59d1ff 37.03%, #72caff 43.56%, #8ac1ff 50%, #a1b9ff 56.44%, #b5b1ff 62.97%, #c4abf9 69.68%, #cfa6ef 76.65%, #d7a3e6 83.97%, #dca1df 91.72%, #dda0dd 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 1.82 failsblack 10.26 AAbanding high
css
background-color: #a8c3d7;
background-image: radial-gradient(circle farthest-corner at 6.97% 82.98%, rgba(64, 224, 208, 0.818) 0%, rgba(64, 224, 208, 0) 54.96%), radial-gradient(circle farthest-corner at 78.47% 72.79%, rgba(221, 160, 221, 0.88) 0%, rgba(221, 160, 221, 0) 59.46%);
background-image: radial-gradient(circle farthest-corner at 6.97% 82.98%, oklch(from #40e0d0 l c h / 0.8179) 0%, rgb(from #40e0d0 r g b / 0) 54.96%), radial-gradient(circle farthest-corner at 78.47% 72.79%, oklch(from #dda0dd l c h / 0.8802) 0%, rgb(from #dda0dd r g b / 0) 59.46%);

Report

  • white ink: worst 1.64:1 at 1% (fails AA); black ink: worst 10.13:1 at 99% (AA) → use black text.
  • Banding high: ~9px bands at 1440px — add grain 19 (≈2% soft-light noise) or shorten the ramp.
  • 21/64 samples left sRGB by more than 5% and were gamut-mapped (oklch shorter); expect slight hue drift there.

Export

css
.gradient {
  background-image: linear-gradient(135deg, #40e0d0 0%, #38dede 7.14%, #3bdaea 14.29%, #47d6f5 21.43%, #57d2fe 28.57%, #69cdff 35.71%, #7ac7ff 42.86%, #8ac1ff 50%, #9abcff 57.14%, #a8b6ff 64.29%, #b6b1ff 71.43%, #c2acfb 78.57%, #cca7f3 85.71%, #d5a3e8 92.86%, #dda0dd 100%);
  background-image: linear-gradient(135deg in oklch shorter hue, #40e0d0 0%, #dda0dd 100%);
}
tailwind v4
bg-linear-to-br/oklch from-[#40e0d0] to-[#dda0dd]
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="#40e0d0"/><stop offset="7.14%" stop-color="#38dede"/><stop offset="14.29%" stop-color="#3bdaea"/><stop offset="21.43%" stop-color="#47d6f5"/><stop offset="28.57%" stop-color="#57d2fe"/><stop offset="35.71%" stop-color="#69cdff"/><stop offset="42.86%" stop-color="#7ac7ff"/><stop offset="50%" stop-color="#8ac1ff"/><stop offset="57.14%" stop-color="#9abcff"/><stop offset="64.29%" stop-color="#a8b6ff"/><stop offset="71.43%" stop-color="#b6b1ff"/><stop offset="78.57%" stop-color="#c2acfb"/><stop offset="85.71%" stop-color="#cca7f3"/><stop offset="92.86%" stop-color="#d5a3e8"/><stop offset="100%" stop-color="#dda0dd"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "turquoise-to-plum": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.251,
            0.878,
            0.816
          ],
          "hex": "#40e0d0"
        },
        "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 oklch shorter hue, #40e0d0 0%, #dda0dd 100%)",
        "interpolation": "oklch",
        "hue": "shorter",
        "angle": 135,
        "name": "turquoise-to-plum",
        "contrast": {
          "white": {
            "ratio": 1.64,
            "at": 0.0088,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 10.126,
            "at": 0.9949,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Turquoise to Plum, interpolated in oklch."
  }
}

More from Turquoise

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 turquoise 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