Named gradient · WebGradients

Zeus Miracle

Zeus Miracle is a purple gradient from WebGradients (MIT) — #cd9cf2 → #f6f3ff at 0°. 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 9.63:1 · AA
white 1.09 failsblack 9.63 AAbanding 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.

sRGB22%
OKLab22%
OKLCH22%

Report

  • white ink: worst 1.09:1 at 100% (fails AA); black ink: worst 9.63:1 at 0% (AA) → use black text.
  • Banding medium: ~17px bands at 1440px — add grain 34 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(0deg, #cd9cf2 0%, #d0a2f3 7.14%, #d3a9f4 14.29%, #d6aff5 21.43%, #d9b5f7 28.57%, #dcbbf8 35.71%, #dfc2f9 42.86%, #e2c8fa 50%, #e5cefa 57.14%, #e7d4fb 64.29%, #eadafc 71.43%, #ede0fd 78.57%, #f0e7fe 85.71%, #f3edfe 92.86%, #f6f3ff 100%);
  background-image: linear-gradient(0deg in oklab, #cd9cf2 0%, #f6f3ff 100%);
}
tailwind v4
bg-linear-to-t/oklab from-[#cd9cf2] to-[#f6f3ff]
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="720" y1="600" x2="720" y2="0"><stop offset="0%" stop-color="#cd9cf2"/><stop offset="7.14%" stop-color="#d0a2f3"/><stop offset="14.29%" stop-color="#d3a9f4"/><stop offset="21.43%" stop-color="#d6aff5"/><stop offset="28.57%" stop-color="#d9b5f7"/><stop offset="35.71%" stop-color="#dcbbf8"/><stop offset="42.86%" stop-color="#dfc2f9"/><stop offset="50%" stop-color="#e2c8fa"/><stop offset="57.14%" stop-color="#e5cefa"/><stop offset="64.29%" stop-color="#e7d4fb"/><stop offset="71.43%" stop-color="#eadafc"/><stop offset="78.57%" stop-color="#ede0fd"/><stop offset="85.71%" stop-color="#f0e7fe"/><stop offset="92.86%" stop-color="#f3edfe"/><stop offset="100%" stop-color="#f6f3ff"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "zeus-miracle": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.804,
            0.612,
            0.949
          ],
          "hex": "#cd9cf2"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.965,
            0.953,
            1
          ],
          "hex": "#f6f3ff"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(0deg in oklab, #cd9cf2 0%, #f6f3ff 100%)",
        "interpolation": "oklab",
        "angle": 0,
        "name": "Zeus Miracle",
        "contrast": {
          "white": {
            "ratio": 1.095,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 9.633,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Zeus Miracle (WebGradients, 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 Zeus Miracle gradient (#cd9cf2, #f6f3ff), 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 WebGradients (MIT) — licences