Colour to colour

Lavender to Blush Pink gradient

Lavender (#e6e6fa) into Blush Pink (#e8b4b8) — 87° 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.

Lavender → Blush Pink
black text · worst 11.65:1 · AA
white 1.23 failsblack 11.65 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.23 failsblack 11.65 AAbanding high
css
linear-gradient(135deg in oklab, #e6e6fa 0%, #e8b4b8 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.23 failsblack 11.65 AAbanding high
css
linear-gradient(135deg in oklch shorter hue, #e6e6fa 0%, #e8b4b8 100%)

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

sRGB55%
OKLab55%
OKLCH62%

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.23 failsblack 11.65 AAbanding high
css
linear-gradient(135deg in oklab, #e6e6fa 0%, #e6e5f9 8.28%, #e6e3f6 16.03%, #e7e0f2 23.35%, #e7dced 30.32%, #e7d8e7 37.03%, #e8d2e0 43.56%, #e8cdd9 50%, #e8c8d2 56.44%, #e8c3cb 62.97%, #e8bec5 69.68%, #e8bac0 76.65%, #e8b7bc 83.97%, #e8b5b9 91.72%, #e8b4b8 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.44 failsblack 14.06 AAbanding low
css
background-color: #e8cdd9;
background-image: radial-gradient(circle farthest-corner at 95.4% 20.26%, rgba(232, 180, 184, 0.745) 0%, rgba(232, 180, 184, 0) 47.4%), radial-gradient(circle farthest-corner at 9.1% 77.23%, rgba(230, 230, 250, 0.796) 0%, rgba(230, 230, 250, 0) 51.53%);
background-image: radial-gradient(circle farthest-corner at 95.4% 20.26%, oklch(from #e8b4b8 l c h / 0.7445) 0%, rgb(from #e8b4b8 r g b / 0) 47.4%), radial-gradient(circle farthest-corner at 9.1% 77.23%, oklch(from #e6e6fa l c h / 0.7955) 0%, rgb(from #e6e6fa r g b / 0) 51.53%);

Report

  • white ink: worst 1.23:1 at 0% (fails AA); black ink: worst 11.65:1 at 100% (AA) → use black text.
  • Banding high: ~22px bands at 1440px — add grain 43 (≈3% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(135deg, #e6e6fa 0%, #e6e2f5 7.14%, #e7dff0 14.29%, #e7dbec 21.43%, #e7d8e7 28.57%, #e8d4e2 35.71%, #e8d1dd 42.86%, #e8cdd9 50%, #e8cad4 57.14%, #e8c6cf 64.29%, #e8c2cb 71.43%, #e8bfc6 78.57%, #e8bbc1 85.71%, #e8b8bd 92.86%, #e8b4b8 100%);
  background-image: linear-gradient(135deg in oklab, #e6e6fa 0%, #e8b4b8 100%);
}
tailwind v4
bg-linear-to-br/oklab from-[#e6e6fa] to-[#e8b4b8]
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="#e6e6fa"/><stop offset="7.14%" stop-color="#e6e2f5"/><stop offset="14.29%" stop-color="#e7dff0"/><stop offset="21.43%" stop-color="#e7dbec"/><stop offset="28.57%" stop-color="#e7d8e7"/><stop offset="35.71%" stop-color="#e8d4e2"/><stop offset="42.86%" stop-color="#e8d1dd"/><stop offset="50%" stop-color="#e8cdd9"/><stop offset="57.14%" stop-color="#e8cad4"/><stop offset="64.29%" stop-color="#e8c6cf"/><stop offset="71.43%" stop-color="#e8c2cb"/><stop offset="78.57%" stop-color="#e8bfc6"/><stop offset="85.71%" stop-color="#e8bbc1"/><stop offset="92.86%" stop-color="#e8b8bd"/><stop offset="100%" stop-color="#e8b4b8"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "lavender-to-blush-pink": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.902,
            0.902,
            0.98
          ],
          "hex": "#e6e6fa"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.91,
            0.706,
            0.722
          ],
          "hex": "#e8b4b8"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(135deg in oklab, #e6e6fa 0%, #e8b4b8 100%)",
        "interpolation": "oklab",
        "angle": 135,
        "name": "lavender-to-blush-pink",
        "contrast": {
          "white": {
            "ratio": 1.231,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 11.652,
            "at": 1,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Lavender to Blush Pink, interpolated in oklab."
  }
}

More from Lavender

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 lavender to blush pink 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