Named gradient · uiGradients

Purple Love

Purple Love is a pink gradient from uiGradients (MIT) — #cc2b5e → #753a88 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 5.15:1 · AA
white 5.15 AAblack 2.72 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.

sRGB82%
OKLab81%
OKLCH82%

Report

  • white ink: worst 5.15:1 at 0% (AA); black ink: worst 2.72:1 at 100% (fails AA) → use white text.
  • Banding high: ~17px bands at 1440px — add grain 34 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #cc2b5e 0%, #c62e62 7.14%, #bf3165 14.29%, #b93469 21.43%, #b3366c 28.57%, #ac376f 35.71%, #a63872 42.86%, #a03975 50%, #9a3a78 57.14%, #943b7b 64.29%, #8d3b7e 71.43%, #873b80 78.57%, #813b83 85.71%, #7b3b85 92.86%, #753a88 100%);
  background-image: linear-gradient(90deg in oklab, #cc2b5e 0%, #753a88 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#cc2b5e] to-[#753a88]
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="#cc2b5e"/><stop offset="7.14%" stop-color="#c62e62"/><stop offset="14.29%" stop-color="#bf3165"/><stop offset="21.43%" stop-color="#b93469"/><stop offset="28.57%" stop-color="#b3366c"/><stop offset="35.71%" stop-color="#ac376f"/><stop offset="42.86%" stop-color="#a63872"/><stop offset="50%" stop-color="#a03975"/><stop offset="57.14%" stop-color="#9a3a78"/><stop offset="64.29%" stop-color="#943b7b"/><stop offset="71.43%" stop-color="#8d3b7e"/><stop offset="78.57%" stop-color="#873b80"/><stop offset="85.71%" stop-color="#813b83"/><stop offset="92.86%" stop-color="#7b3b85"/><stop offset="100%" stop-color="#753a88"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "purple-love": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.8,
            0.169,
            0.369
          ],
          "hex": "#cc2b5e"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.459,
            0.227,
            0.533
          ],
          "hex": "#753a88"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #cc2b5e 0%, #753a88 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Purple Love",
        "contrast": {
          "white": {
            "ratio": 5.154,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "black": {
            "ratio": 2.717,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Purple Love (uiGradients, MIT), rendered in OKLab."
  }
}

Tagged

More pink 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 Purple Love gradient (#cc2b5e, #753a88), 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