Named gradient · uiGradients

Virgin America

Virgin America is a purple gradient from uiGradients (MIT) — #7b4397 → #dc2430 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.84:1 · AA
white 4.84 AAblack 3.09 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.

sRGB78%
OKLab74%
OKLCH79%

Report

  • white ink: worst 4.84:1 at 100% (AA); black ink: worst 3.09:1 at 0% (AA-large only) → use white text.
  • Banding high: ~14px bands at 1440px — add grain 29 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #7b4397 0%, #824491 7.14%, #89448c 14.29%, #8f4486 21.43%, #964480 28.57%, #9d4379 35.71%, #a44273 42.86%, #ab416d 50%, #b23f66 57.14%, #b93c5f 64.29%, #c03957 71.43%, #c7364f 78.57%, #ce3146 85.71%, #d52b3c 92.86%, #dc2430 100%);
  background-image: linear-gradient(90deg in oklab, #7b4397 0%, #dc2430 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#7b4397] to-[#dc2430]
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="#7b4397"/><stop offset="7.14%" stop-color="#824491"/><stop offset="14.29%" stop-color="#89448c"/><stop offset="21.43%" stop-color="#8f4486"/><stop offset="28.57%" stop-color="#964480"/><stop offset="35.71%" stop-color="#9d4379"/><stop offset="42.86%" stop-color="#a44273"/><stop offset="50%" stop-color="#ab416d"/><stop offset="57.14%" stop-color="#b23f66"/><stop offset="64.29%" stop-color="#b93c5f"/><stop offset="71.43%" stop-color="#c03957"/><stop offset="78.57%" stop-color="#c7364f"/><stop offset="85.71%" stop-color="#ce3146"/><stop offset="92.86%" stop-color="#d52b3c"/><stop offset="100%" stop-color="#dc2430"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "virgin-america": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.482,
            0.263,
            0.592
          ],
          "hex": "#7b4397"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.863,
            0.141,
            0.188
          ],
          "hex": "#dc2430"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #7b4397 0%, #dc2430 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Virgin America",
        "contrast": {
          "white": {
            "ratio": 4.841,
            "at": 1,
            "passesAA": true,
            "passesAALarge": true
          },
          "black": {
            "ratio": 3.092,
            "at": 0,
            "passesAA": false,
            "passesAALarge": true
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Virgin America (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 Virgin America gradient (#7b4397, #dc2430), 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