Named gradient · uiGradients

Purpink

Purpink is a purple gradient from uiGradients (MIT) — #7f00ff → #e100ff 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
white text · worst 3.72:1 · AA large
white 3.72 AA largeblack 3.35 AA largebanding high

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.

sRGB97%
OKLab96%
OKLCH97%

Report

  • white ink: worst 3.72:1 at 100% (AA-large only); black ink: worst 3.35:1 at 0% (AA-large only) → use white text.
  • Body text fails AA everywhere on this gradient; large text (≥24px / 19px bold) is fine. Add a scrim or lower the chroma for body copy.
  • Banding high: ~15px bands at 1440px — add grain 30 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #7f00ff 0%, #8607ff 7.14%, #8c0dff 14.29%, #9311ff 21.43%, #9a13ff 28.57%, #a115ff 35.71%, #a816ff 42.86%, #af17ff 50%, #b617ff 57.14%, #bd16ff 64.29%, #c414ff 71.43%, #cb12ff 78.57%, #d30eff 85.71%, #da08ff 92.86%, #e100ff 100%);
  background-image: linear-gradient(90deg in oklab, #7f00ff 0%, #e100ff 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#7f00ff] to-[#e100ff]
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="#7f00ff"/><stop offset="7.14%" stop-color="#8607ff"/><stop offset="14.29%" stop-color="#8c0dff"/><stop offset="21.43%" stop-color="#9311ff"/><stop offset="28.57%" stop-color="#9a13ff"/><stop offset="35.71%" stop-color="#a115ff"/><stop offset="42.86%" stop-color="#a816ff"/><stop offset="50%" stop-color="#af17ff"/><stop offset="57.14%" stop-color="#b617ff"/><stop offset="64.29%" stop-color="#bd16ff"/><stop offset="71.43%" stop-color="#c414ff"/><stop offset="78.57%" stop-color="#cb12ff"/><stop offset="85.71%" stop-color="#d30eff"/><stop offset="92.86%" stop-color="#da08ff"/><stop offset="100%" stop-color="#e100ff"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "purpink": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.498,
            0,
            1
          ],
          "hex": "#7f00ff"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.882,
            0,
            1
          ],
          "hex": "#e100ff"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #7f00ff 0%, #e100ff 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Purpink",
        "contrast": {
          "white": {
            "ratio": 3.717,
            "at": 0.9981,
            "passesAA": false,
            "passesAALarge": true
          },
          "black": {
            "ratio": 3.346,
            "at": 0,
            "passesAA": false,
            "passesAALarge": true
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Purpink (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 Purpink gradient (#7f00ff, #e100ff), 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