Named gradient · uiGradients

Kashmir

Kashmir is a purple gradient from uiGradients (MIT) — #614385 → #516395 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.88:1 · AA
white 5.88 AAblack 2.65 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.

sRGB86%
OKLab86%
OKLCH87%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(90deg, #614385 0%, #604586 7.14%, #5f4887 14.29%, #5f4a88 21.43%, #5e4d8a 28.57%, #5d4f8b 35.71%, #5c518c 42.86%, #5b538d 50%, #5a568e 57.14%, #58588f 64.29%, #575a90 71.43%, #565c92 78.57%, #545f93 85.71%, #536194 92.86%, #516395 100%);
  background-image: linear-gradient(90deg in oklab, #614385 0%, #516395 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#614385] to-[#516395]
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="#614385"/><stop offset="7.14%" stop-color="#604586"/><stop offset="14.29%" stop-color="#5f4887"/><stop offset="21.43%" stop-color="#5f4a88"/><stop offset="28.57%" stop-color="#5e4d8a"/><stop offset="35.71%" stop-color="#5d4f8b"/><stop offset="42.86%" stop-color="#5c518c"/><stop offset="50%" stop-color="#5b538d"/><stop offset="57.14%" stop-color="#5a568e"/><stop offset="64.29%" stop-color="#58588f"/><stop offset="71.43%" stop-color="#575a90"/><stop offset="78.57%" stop-color="#565c92"/><stop offset="85.71%" stop-color="#545f93"/><stop offset="92.86%" stop-color="#536194"/><stop offset="100%" stop-color="#516395"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "kashmir": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.38,
            0.263,
            0.522
          ],
          "hex": "#614385"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.318,
            0.388,
            0.584
          ],
          "hex": "#516395"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #614385 0%, #516395 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Kashmir",
        "contrast": {
          "white": {
            "ratio": 5.885,
            "at": 0.9841,
            "passesAA": true,
            "passesAALarge": true
          },
          "black": {
            "ratio": 2.65,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Kashmir (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 Kashmir gradient (#614385, #516395), 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