Named gradient · uiGradients

Ultra Voilet

Ultra Voilet is a purple gradient from uiGradients (MIT) — #654ea3 → #eaafc8 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 3.17:1 · AA large
white 1.83 failsblack 3.17 AA largebanding 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.

sRGB72%
OKLab72%
OKLCH73%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(90deg, #654ea3 0%, #6e55a6 7.14%, #765ca9 14.29%, #7f63ac 21.43%, #886aaf 28.57%, #9171b2 35.71%, #9b78b5 42.86%, #a47fb7 50%, #ae86ba 57.14%, #b88dbd 64.29%, #c294bf 71.43%, #cb9ac1 78.57%, #d6a1c4 85.71%, #e0a8c6 92.86%, #eaafc8 100%);
  background-image: linear-gradient(90deg in oklab, #654ea3 0%, #eaafc8 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#654ea3] to-[#eaafc8]
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="#654ea3"/><stop offset="7.14%" stop-color="#6e55a6"/><stop offset="14.29%" stop-color="#765ca9"/><stop offset="21.43%" stop-color="#7f63ac"/><stop offset="28.57%" stop-color="#886aaf"/><stop offset="35.71%" stop-color="#9171b2"/><stop offset="42.86%" stop-color="#9b78b5"/><stop offset="50%" stop-color="#a47fb7"/><stop offset="57.14%" stop-color="#ae86ba"/><stop offset="64.29%" stop-color="#b88dbd"/><stop offset="71.43%" stop-color="#c294bf"/><stop offset="78.57%" stop-color="#cb9ac1"/><stop offset="85.71%" stop-color="#d6a1c4"/><stop offset="92.86%" stop-color="#e0a8c6"/><stop offset="100%" stop-color="#eaafc8"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "ultra-voilet": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.396,
            0.306,
            0.639
          ],
          "hex": "#654ea3"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.918,
            0.686,
            0.784
          ],
          "hex": "#eaafc8"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #654ea3 0%, #eaafc8 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Ultra Voilet",
        "contrast": {
          "white": {
            "ratio": 1.832,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 3.172,
            "at": 0,
            "passesAA": false,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Ultra Voilet (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 Ultra Voilet gradient (#654ea3, #eaafc8), 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