Named gradient · uiGradients

Purplin

Purplin is a purple gradient from uiGradients (MIT) — #6a3093 → #a044ff 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 4.41:1 · AA large
white 4.41 AA largeblack 2.46 failsbanding 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.

sRGB76%
OKLab76%
OKLCH76%

Report

  • white ink: worst 4.41:1 at 100% (AA-large only); black ink: worst 2.46:1 at 0% (fails AA) → 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: ~13px bands at 1440px — add grain 28 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #6a3093 0%, #6e329a 7.14%, #7133a2 14.29%, #7535a9 21.43%, #7936b1 28.57%, #7d38b8 35.71%, #8139c0 42.86%, #843ac8 50%, #883ccf 57.14%, #8c3dd7 64.29%, #903fdf 71.43%, #9440e7 78.57%, #9841ef 85.71%, #9c43f7 92.86%, #a044ff 100%);
  background-image: linear-gradient(90deg in oklab, #6a3093 0%, #a044ff 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#6a3093] to-[#a044ff]
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="#6a3093"/><stop offset="7.14%" stop-color="#6e329a"/><stop offset="14.29%" stop-color="#7133a2"/><stop offset="21.43%" stop-color="#7535a9"/><stop offset="28.57%" stop-color="#7936b1"/><stop offset="35.71%" stop-color="#7d38b8"/><stop offset="42.86%" stop-color="#8139c0"/><stop offset="50%" stop-color="#843ac8"/><stop offset="57.14%" stop-color="#883ccf"/><stop offset="64.29%" stop-color="#8c3dd7"/><stop offset="71.43%" stop-color="#903fdf"/><stop offset="78.57%" stop-color="#9440e7"/><stop offset="85.71%" stop-color="#9841ef"/><stop offset="92.86%" stop-color="#9c43f7"/><stop offset="100%" stop-color="#a044ff"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "purplin": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.416,
            0.188,
            0.576
          ],
          "hex": "#6a3093"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.627,
            0.267,
            1
          ],
          "hex": "#a044ff"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #6a3093 0%, #a044ff 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Purplin",
        "contrast": {
          "white": {
            "ratio": 4.407,
            "at": 1,
            "passesAA": false,
            "passesAALarge": true
          },
          "black": {
            "ratio": 2.457,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Purplin (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 Purplin gradient (#6a3093, #a044ff), 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