Named gradient · uiGradients

Purple White

Purple White is a pink gradient from uiGradients (MIT) — #ba5370 → #f4e2d8 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 4.56:1 · AA
white 1.26 failsblack 4.56 AAbanding 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.

sRGB30%
OKLab30%
OKLCH30%

Report

  • white ink: worst 1.26:1 at 100% (fails AA); black ink: worst 4.56:1 at 0% (AA) → use black text.
  • Banding medium: ~10px bands at 1440px — add grain 21 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #ba5370 0%, #bf5e77 7.14%, #c4687e 14.29%, #c97285 21.43%, #cd7d8c 28.57%, #d28794 35.71%, #d6919b 42.86%, #da9ba2 50%, #dea5aa 57.14%, #e2afb1 64.29%, #e6b9b9 71.43%, #eac3c1 78.57%, #edcec8 85.71%, #f1d8d0 92.86%, #f4e2d8 100%);
  background-image: linear-gradient(90deg in oklab, #ba5370 0%, #f4e2d8 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#ba5370] to-[#f4e2d8]
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="#ba5370"/><stop offset="7.14%" stop-color="#bf5e77"/><stop offset="14.29%" stop-color="#c4687e"/><stop offset="21.43%" stop-color="#c97285"/><stop offset="28.57%" stop-color="#cd7d8c"/><stop offset="35.71%" stop-color="#d28794"/><stop offset="42.86%" stop-color="#d6919b"/><stop offset="50%" stop-color="#da9ba2"/><stop offset="57.14%" stop-color="#dea5aa"/><stop offset="64.29%" stop-color="#e2afb1"/><stop offset="71.43%" stop-color="#e6b9b9"/><stop offset="78.57%" stop-color="#eac3c1"/><stop offset="85.71%" stop-color="#edcec8"/><stop offset="92.86%" stop-color="#f1d8d0"/><stop offset="100%" stop-color="#f4e2d8"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "purple-white": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.729,
            0.325,
            0.439
          ],
          "hex": "#ba5370"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.957,
            0.886,
            0.847
          ],
          "hex": "#f4e2d8"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #ba5370 0%, #f4e2d8 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Purple White",
        "contrast": {
          "white": {
            "ratio": 1.256,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 4.559,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Purple White (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 White gradient (#ba5370, #f4e2d8), 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