Named gradient · uiGradients

80's Purple

80's Purple is a purple gradient from uiGradients (MIT) — #41295a → #2f0743 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 12.43:1 · AA
white 12.43 AAblack 1.23 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.

sRGB90%
OKLab90%
OKLCH90%

Report

  • white ink: worst 12.43:1 at 0% (AA); black ink: worst 1.23:1 at 100% (fails AA) → use white text.
  • Banding high: ~42px bands at 1440px — add grain 50 (≈3% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #41295a 0%, #402758 7.14%, #3e2557 14.29%, #3d2255 21.43%, #3c2053 28.57%, #3b1e52 35.71%, #391c50 42.86%, #38194e 50%, #37174d 57.14%, #36144b 64.29%, #34124a 71.43%, #330f48 78.57%, #320d46 85.71%, #300a45 92.86%, #2f0743 100%);
  background-image: linear-gradient(90deg in oklab, #41295a 0%, #2f0743 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#41295a] to-[#2f0743]
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="#41295a"/><stop offset="7.14%" stop-color="#402758"/><stop offset="14.29%" stop-color="#3e2557"/><stop offset="21.43%" stop-color="#3d2255"/><stop offset="28.57%" stop-color="#3c2053"/><stop offset="35.71%" stop-color="#3b1e52"/><stop offset="42.86%" stop-color="#391c50"/><stop offset="50%" stop-color="#38194e"/><stop offset="57.14%" stop-color="#37174d"/><stop offset="64.29%" stop-color="#36144b"/><stop offset="71.43%" stop-color="#34124a"/><stop offset="78.57%" stop-color="#330f48"/><stop offset="85.71%" stop-color="#320d46"/><stop offset="92.86%" stop-color="#300a45"/><stop offset="100%" stop-color="#2f0743"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "80-s-purple": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.255,
            0.161,
            0.353
          ],
          "hex": "#41295a"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.184,
            0.027,
            0.263
          ],
          "hex": "#2f0743"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #41295a 0%, #2f0743 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "80's Purple",
        "contrast": {
          "white": {
            "ratio": 12.429,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "black": {
            "ratio": 1.232,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "80's Purple (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 80's Purple gradient (#41295a, #2f0743), 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