Named gradient · uiGradients

Virgin

Virgin is a green gradient from uiGradients (MIT) — #c9ffbf → #ffafbd 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 12.12:1 · AA
white 1.13 failsblack 12.12 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.

sRGB36%
OKLab39%
OKLCH87%

Report

  • white ink: worst 1.13:1 at 1% (fails AA); black ink: worst 12.12:1 at 100% (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, #c9ffbf 0%, #cffabf 7.14%, #d4f4bf 14.29%, #d9efbf 21.43%, #dde9bf 28.57%, #e2e4bf 35.71%, #e6debf 42.86%, #ead8bf 50%, #edd3be 57.14%, #f1cdbe 64.29%, #f4c7be 71.43%, #f7c1be 78.57%, #fabbbe 85.71%, #fcb5bd 92.86%, #ffafbd 100%);
  background-image: linear-gradient(90deg in oklab, #c9ffbf 0%, #ffafbd 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#c9ffbf] to-[#ffafbd]
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="#c9ffbf"/><stop offset="7.14%" stop-color="#cffabf"/><stop offset="14.29%" stop-color="#d4f4bf"/><stop offset="21.43%" stop-color="#d9efbf"/><stop offset="28.57%" stop-color="#dde9bf"/><stop offset="35.71%" stop-color="#e2e4bf"/><stop offset="42.86%" stop-color="#e6debf"/><stop offset="50%" stop-color="#ead8bf"/><stop offset="57.14%" stop-color="#edd3be"/><stop offset="64.29%" stop-color="#f1cdbe"/><stop offset="71.43%" stop-color="#f4c7be"/><stop offset="78.57%" stop-color="#f7c1be"/><stop offset="85.71%" stop-color="#fabbbe"/><stop offset="92.86%" stop-color="#fcb5bd"/><stop offset="100%" stop-color="#ffafbd"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "virgin": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.788,
            1,
            0.749
          ],
          "hex": "#c9ffbf"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            1,
            0.686,
            0.741
          ],
          "hex": "#ffafbd"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #c9ffbf 0%, #ffafbd 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Virgin",
        "contrast": {
          "white": {
            "ratio": 1.131,
            "at": 0.0066,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 12.119,
            "at": 1,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Virgin (uiGradients, MIT), rendered in OKLab."
  }
}

Tagged

More green 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 Virgin gradient (#c9ffbf, #ffafbd), 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