Named gradient · uiGradients

Purple Dream

Purple Dream is a purple gradient from uiGradients (MIT) — #bf5ae0 → #a811da 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.76:1 · AA large
white 3.65 AA largeblack 3.76 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.

sRGB88%
OKLab88%
OKLCH88%

Report

  • white ink: worst 3.65:1 at 0% (AA-large only); black ink: worst 3.76:1 at 100% (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 high: ~20px bands at 1440px — add grain 39 (≈3% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #bf5ae0 0%, #bd56e0 7.14%, #bc53df 14.29%, #ba4fdf 21.43%, #b84bde 28.57%, #b747de 35.71%, #b543de 42.86%, #b33fdd 50%, #b23add 57.14%, #b035dc 64.29%, #af30dc 71.43%, #ad2adb 78.57%, #ab23db 85.71%, #aa1bda 92.86%, #a811da 100%);
  background-image: linear-gradient(90deg in oklab, #bf5ae0 0%, #a811da 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#bf5ae0] to-[#a811da]
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="#bf5ae0"/><stop offset="7.14%" stop-color="#bd56e0"/><stop offset="14.29%" stop-color="#bc53df"/><stop offset="21.43%" stop-color="#ba4fdf"/><stop offset="28.57%" stop-color="#b84bde"/><stop offset="35.71%" stop-color="#b747de"/><stop offset="42.86%" stop-color="#b543de"/><stop offset="50%" stop-color="#b33fdd"/><stop offset="57.14%" stop-color="#b23add"/><stop offset="64.29%" stop-color="#b035dc"/><stop offset="71.43%" stop-color="#af30dc"/><stop offset="78.57%" stop-color="#ad2adb"/><stop offset="85.71%" stop-color="#ab23db"/><stop offset="92.86%" stop-color="#aa1bda"/><stop offset="100%" stop-color="#a811da"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "purple-dream": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.749,
            0.353,
            0.878
          ],
          "hex": "#bf5ae0"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.659,
            0.067,
            0.855
          ],
          "hex": "#a811da"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #bf5ae0 0%, #a811da 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Purple Dream",
        "contrast": {
          "white": {
            "ratio": 3.65,
            "at": 0,
            "passesAA": false,
            "passesAALarge": true
          },
          "black": {
            "ratio": 3.758,
            "at": 1,
            "passesAA": false,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Purple Dream (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 Purple Dream gradient (#bf5ae0, #a811da), 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