Named gradient · uiGradients

Radar

Radar is a purple gradient from uiGradients (MIT) — #a770ef → #cf8bf3 → #fdb99b 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 6.21:1 · AA
white 1.67 failsblack 6.21 AAbanding 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.

sRGB58%
OKLab55%
OKLCH65%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(90deg, #a770ef 0%, #aa72ef 3.57%, #ad74f0 7.14%, #af76f0 10.71%, #b278f0 14.29%, #b57af1 17.86%, #b87cf1 21.43%, #bb7ef1 25%, #be80f1 28.57%, #c082f2 32.14%, #c384f2 35.71%, #c685f2 39.29%, #c987f3 42.86%, #cc89f3 46.43%, #cf8bf3 50%, #d28fee 53.57%, #d593e8 57.14%, #d897e3 60.71%, #db9add 64.29%, #de9ed7 67.86%, #e1a1d1 71.43%, #e5a4cb 75%, #e8a8c5 78.57%, #ebabbe 82.14%, #efaeb8 85.71%, #f2b1b1 89.29%, #f6b3aa 92.86%, #f9b6a3 96.43%, #fdb99b 100%);
  background-image: linear-gradient(90deg in oklab, #a770ef 0%, #cf8bf3 50%, #fdb99b 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#a770ef] via-[#cf8bf3] to-[#fdb99b]
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="#a770ef"/><stop offset="3.57%" stop-color="#aa72ef"/><stop offset="7.14%" stop-color="#ad74f0"/><stop offset="10.71%" stop-color="#af76f0"/><stop offset="14.29%" stop-color="#b278f0"/><stop offset="17.86%" stop-color="#b57af1"/><stop offset="21.43%" stop-color="#b87cf1"/><stop offset="25%" stop-color="#bb7ef1"/><stop offset="28.57%" stop-color="#be80f1"/><stop offset="32.14%" stop-color="#c082f2"/><stop offset="35.71%" stop-color="#c384f2"/><stop offset="39.29%" stop-color="#c685f2"/><stop offset="42.86%" stop-color="#c987f3"/><stop offset="46.43%" stop-color="#cc89f3"/><stop offset="50%" stop-color="#cf8bf3"/><stop offset="53.57%" stop-color="#d28fee"/><stop offset="57.14%" stop-color="#d593e8"/><stop offset="60.71%" stop-color="#d897e3"/><stop offset="64.29%" stop-color="#db9add"/><stop offset="67.86%" stop-color="#de9ed7"/><stop offset="71.43%" stop-color="#e1a1d1"/><stop offset="75%" stop-color="#e5a4cb"/><stop offset="78.57%" stop-color="#e8a8c5"/><stop offset="82.14%" stop-color="#ebabbe"/><stop offset="85.71%" stop-color="#efaeb8"/><stop offset="89.29%" stop-color="#f2b1b1"/><stop offset="92.86%" stop-color="#f6b3aa"/><stop offset="96.43%" stop-color="#f9b6a3"/><stop offset="100%" stop-color="#fdb99b"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "radar": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.655,
            0.439,
            0.937
          ],
          "hex": "#a770ef"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.812,
            0.545,
            0.953
          ],
          "hex": "#cf8bf3"
        },
        "position": 0.5
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.992,
            0.725,
            0.608
          ],
          "hex": "#fdb99b"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #a770ef 0%, #cf8bf3 50%, #fdb99b 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Radar",
        "contrast": {
          "white": {
            "ratio": 1.667,
            "at": 0.9977,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 6.207,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Radar (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 Radar gradient (#a770ef, #cf8bf3, #fdb99b), 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