Colour to colour · generated

Sienna to Royal Blue gradient

Sienna (#a0522d) into Royal Blue (#4169e1) — 138° 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.

Sienna → Royal Blue
white text · worst 4.84:1 · AA
white 4.84 AAblack 3.74 AA largebanding medium

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.84 AAblack 3.74 AA largebanding medium
css
linear-gradient(135deg in oklab, #a0522d 0%, #4169e1 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.83 AAblack 3.72 AA largebanding medium
css
linear-gradient(135deg in oklch shorter hue, #a0522d 0%, #4169e1 100%)

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

sRGB36%
OKLab33%
OKLCH76%

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.84 AAblack 3.74 AA largebanding medium
css
linear-gradient(135deg in oklab, #a0522d 0%, #9f5331 8.28%, #9c553b 16.03%, #975949 23.35%, #915d59 30.32%, #89606b 37.03%, #80647c 43.56%, #77678f 50%, #6d69a0 56.44%, #636ab1 62.97%, #596ac0 69.68%, #506ace 76.65%, #486ad8 83.97%, #4369df 91.72%, #4169e1 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 4.95 AAblack 3.91 AA largebanding high
css
background-color: #77678f;
background-image: radial-gradient(circle farthest-corner at 14.83% 14.14%, rgba(65, 105, 225, 0.807) 0%, rgba(65, 105, 225, 0) 46.67%), radial-gradient(circle farthest-corner at 97.31% 45.75%, rgba(160, 82, 45, 0.793) 0%, rgba(160, 82, 45, 0) 53.05%);
background-image: radial-gradient(circle farthest-corner at 14.83% 14.14%, oklch(from #4169e1 l c h / 0.8065) 0%, rgb(from #4169e1 r g b / 0) 46.67%), radial-gradient(circle farthest-corner at 97.31% 45.75%, oklch(from #a0522d l c h / 0.7928) 0%, rgb(from #a0522d r g b / 0) 53.05%);

Report

  • white ink: worst 4.84:1 at 96% (AA); black ink: worst 3.74:1 at 0% (AA-large only) → use white text.
  • Banding medium: ~8px bands at 1440px — add grain 16 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(135deg, #a0522d 0%, #9b563f 7.14%, #955a4f 14.29%, #8f5d5c 21.43%, #8a606a 28.57%, #846376 35.71%, #7d6582 42.86%, #77678f 50%, #71689a 57.14%, #6a69a6 64.29%, #636ab2 71.43%, #5b6abe 78.57%, #536aca 85.71%, #4a6ad5 92.86%, #4169e1 100%);
  background-image: linear-gradient(135deg in oklab, #a0522d 0%, #4169e1 100%);
}
tailwind v4
bg-linear-to-br/oklab from-[#a0522d] to-[#4169e1]
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="#a0522d"/><stop offset="7.14%" stop-color="#9b563f"/><stop offset="14.29%" stop-color="#955a4f"/><stop offset="21.43%" stop-color="#8f5d5c"/><stop offset="28.57%" stop-color="#8a606a"/><stop offset="35.71%" stop-color="#846376"/><stop offset="42.86%" stop-color="#7d6582"/><stop offset="50%" stop-color="#77678f"/><stop offset="57.14%" stop-color="#71689a"/><stop offset="64.29%" stop-color="#6a69a6"/><stop offset="71.43%" stop-color="#636ab2"/><stop offset="78.57%" stop-color="#5b6abe"/><stop offset="85.71%" stop-color="#536aca"/><stop offset="92.86%" stop-color="#4a6ad5"/><stop offset="100%" stop-color="#4169e1"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "sienna-to-royalblue": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.627,
            0.322,
            0.176
          ],
          "hex": "#a0522d"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.255,
            0.412,
            0.882
          ],
          "hex": "#4169e1"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(135deg in oklab, #a0522d 0%, #4169e1 100%)",
        "interpolation": "oklab",
        "angle": 135,
        "name": "sienna-to-royalblue",
        "contrast": {
          "white": {
            "ratio": 4.837,
            "at": 0.9588,
            "passesAA": true,
            "passesAALarge": true
          },
          "black": {
            "ratio": 3.74,
            "at": 0,
            "passesAA": false,
            "passesAALarge": true
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Sienna to Royal Blue, interpolated in oklab."
  }
}

More from Sienna

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 sienna to royal 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