Colour to colour

Beige to Sky Blue gradient

Beige (#f5f5dc) into Sky Blue (#87ceeb) — 119° 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.

Beige → Sky Blue
black text · worst 12.06:1 · AA
white 1.11 failsblack 12.06 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.11 failsblack 12.06 AAbanding high
css
linear-gradient(135deg in oklab, #f5f5dc 0%, #87ceeb 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.11 failsblack 12.06 AAbanding high
css
linear-gradient(135deg in oklch shorter hue, #f5f5dc 0%, #87ceeb 100%)

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

sRGB41%
OKLab39%
OKLCH57%

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.11 failsblack 12.06 AAbanding high
css
linear-gradient(135deg in oklab, #f5f5dc 0%, #f3f4dc 8.28%, #eff3dd 16.03%, #e9f1de 23.35%, #e0eee0 30.32%, #d6eae1 37.03%, #cbe6e3 43.56%, #c0e2e5 50%, #b4dee6 56.44%, #a9dae8 62.97%, #9ed6e9 69.68%, #95d3ea 76.65%, #8ed0ea 83.97%, #89cfeb 91.72%, #87ceeb 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.27 failsblack 14.58 AAbanding low
css
background-color: #c0e2e5;
background-image: radial-gradient(circle farthest-corner at 11.36% 64.46%, rgba(135, 206, 235, 0.709) 0%, rgba(135, 206, 235, 0) 49.53%), radial-gradient(circle farthest-corner at 60.43% 43.27%, rgba(245, 245, 220, 0.882) 0%, rgba(245, 245, 220, 0) 45.07%);
background-image: radial-gradient(circle farthest-corner at 11.36% 64.46%, oklch(from #87ceeb l c h / 0.7094) 0%, rgb(from #87ceeb r g b / 0) 49.53%), radial-gradient(circle farthest-corner at 60.43% 43.27%, oklch(from #f5f5dc l c h / 0.8819) 0%, rgb(from #f5f5dc r g b / 0) 45.07%);

Report

  • white ink: worst 1.11:1 at 0% (fails AA); black ink: worst 12.06:1 at 100% (AA) → use black text.
  • Banding high: ~13px bands at 1440px — add grain 27 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(135deg, #f5f5dc 0%, #eef2dd 7.14%, #e6f0df 14.29%, #deede0 21.43%, #d7eae1 28.57%, #cfe8e2 35.71%, #c8e5e4 42.86%, #c0e2e5 50%, #b8dfe6 57.14%, #b0dce7 64.29%, #a8dae8 71.43%, #a0d7e9 78.57%, #98d4e9 85.71%, #90d1ea 92.86%, #87ceeb 100%);
  background-image: linear-gradient(135deg in oklab, #f5f5dc 0%, #87ceeb 100%);
}
tailwind v4
bg-linear-to-br/oklab from-[#f5f5dc] to-[#87ceeb]
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="#f5f5dc"/><stop offset="7.14%" stop-color="#eef2dd"/><stop offset="14.29%" stop-color="#e6f0df"/><stop offset="21.43%" stop-color="#deede0"/><stop offset="28.57%" stop-color="#d7eae1"/><stop offset="35.71%" stop-color="#cfe8e2"/><stop offset="42.86%" stop-color="#c8e5e4"/><stop offset="50%" stop-color="#c0e2e5"/><stop offset="57.14%" stop-color="#b8dfe6"/><stop offset="64.29%" stop-color="#b0dce7"/><stop offset="71.43%" stop-color="#a8dae8"/><stop offset="78.57%" stop-color="#a0d7e9"/><stop offset="85.71%" stop-color="#98d4e9"/><stop offset="92.86%" stop-color="#90d1ea"/><stop offset="100%" stop-color="#87ceeb"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "beige-to-skyblue": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.961,
            0.961,
            0.863
          ],
          "hex": "#f5f5dc"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.529,
            0.808,
            0.922
          ],
          "hex": "#87ceeb"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(135deg in oklab, #f5f5dc 0%, #87ceeb 100%)",
        "interpolation": "oklab",
        "angle": 135,
        "name": "beige-to-skyblue",
        "contrast": {
          "white": {
            "ratio": 1.107,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 12.058,
            "at": 1,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Beige to Sky Blue, interpolated in oklab."
  }
}

More from Beige

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 beige to sky blue 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