Named gradient · uiGradients

Frozen

Frozen is a purple gradient from uiGradients (MIT) — #403b4a → #e7e9bb at 90°. Shown here interpolated in OKLab, next to the original sRGB, with the worst-case contrast for white and black text and every export.

Aa — the quick brown fox
black text · worst 1.94:1 · fails
white 1.25 failsblack 1.94 failsbanding medium

Same stops, three spaces

The source renders this in sRGB. The number is how much chroma survives at the dullest point along the line — the difference between the first bar and the others is the grey that OKLab removes.

sRGB9%
OKLab9%
OKLCH61%

Report

  • white ink: worst 1.25:1 at 100% (fails AA); black ink: worst 1.94:1 at 0% (fails AA) → use black text.
  • Neither ink passes AA at the worst point — treat as decorative or add a scrim (rgba(0,0,0,.35) typically lifts white ink past 4:1).
  • Banding medium: ~8px bands at 1440px — add grain 17 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #403b4a 0%, #4a4652 7.14%, #55515a 14.29%, #605d62 21.43%, #6c6969 28.57%, #777571 35.71%, #838179 42.86%, #8f8d81 50%, #9b9a8a 57.14%, #a7a792 64.29%, #b4b49a 71.43%, #c0c1a2 78.57%, #cdceaa 85.71%, #dadbb3 92.86%, #e7e9bb 100%);
  background-image: linear-gradient(90deg in oklab, #403b4a 0%, #e7e9bb 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#403b4a] to-[#e7e9bb]
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="0" y1="300" x2="1440" y2="300"><stop offset="0%" stop-color="#403b4a"/><stop offset="7.14%" stop-color="#4a4652"/><stop offset="14.29%" stop-color="#55515a"/><stop offset="21.43%" stop-color="#605d62"/><stop offset="28.57%" stop-color="#6c6969"/><stop offset="35.71%" stop-color="#777571"/><stop offset="42.86%" stop-color="#838179"/><stop offset="50%" stop-color="#8f8d81"/><stop offset="57.14%" stop-color="#9b9a8a"/><stop offset="64.29%" stop-color="#a7a792"/><stop offset="71.43%" stop-color="#b4b49a"/><stop offset="78.57%" stop-color="#c0c1a2"/><stop offset="85.71%" stop-color="#cdceaa"/><stop offset="92.86%" stop-color="#dadbb3"/><stop offset="100%" stop-color="#e7e9bb"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "frozen": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.251,
            0.231,
            0.29
          ],
          "hex": "#403b4a"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.906,
            0.914,
            0.733
          ],
          "hex": "#e7e9bb"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #403b4a 0%, #e7e9bb 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Frozen",
        "contrast": {
          "white": {
            "ratio": 1.252,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 1.942,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Frozen (uiGradients, MIT), rendered in OKLab."
  }
}

Tagged

More purple gradients

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

take the Frozen gradient (#403b4a, #e7e9bb), re-interpolate it in oklch, and tell me the worst-case contrast for white text

Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.

Machine-readable: gradients.md · From uiGradients (MIT) — licences