Named gradient · uiGradients

Stripe

Stripe is a blue gradient from uiGradients (MIT) — #1fa2ff → #12d8fa → #a6ffcb 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 7.67:1 · AA
white 1.18 failsblack 7.67 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.

sRGB79%
OKLab76%
OKLCH79%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(90deg, #1fa2ff 0%, #1ea6ff 3.57%, #1caaff 7.14%, #1baefe 10.71%, #1ab2fe 14.29%, #19b6fe 17.86%, #17bafd 21.43%, #16bdfd 25%, #15c1fd 28.57%, #14c5fc 32.14%, #14c9fc 35.71%, #13cdfb 39.29%, #13d0fb 42.86%, #12d4fb 46.43%, #12d8fa 50%, #2cdbf7 53.57%, #3cdef4 57.14%, #49e1f1 60.71%, #54e4ee 64.29%, #5ee7eb 67.86%, #68e9e8 71.43%, #70ece5 75%, #79efe1 78.57%, #81f2de 82.14%, #89f4da 85.71%, #90f7d7 89.29%, #98fad3 92.86%, #9ffccf 96.43%, #a6ffcb 100%);
  background-image: linear-gradient(90deg in oklab, #1fa2ff 0%, #12d8fa 50%, #a6ffcb 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#1fa2ff] via-[#12d8fa] to-[#a6ffcb]
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="#1fa2ff"/><stop offset="3.57%" stop-color="#1ea6ff"/><stop offset="7.14%" stop-color="#1caaff"/><stop offset="10.71%" stop-color="#1baefe"/><stop offset="14.29%" stop-color="#1ab2fe"/><stop offset="17.86%" stop-color="#19b6fe"/><stop offset="21.43%" stop-color="#17bafd"/><stop offset="25%" stop-color="#16bdfd"/><stop offset="28.57%" stop-color="#15c1fd"/><stop offset="32.14%" stop-color="#14c5fc"/><stop offset="35.71%" stop-color="#14c9fc"/><stop offset="39.29%" stop-color="#13cdfb"/><stop offset="42.86%" stop-color="#13d0fb"/><stop offset="46.43%" stop-color="#12d4fb"/><stop offset="50%" stop-color="#12d8fa"/><stop offset="53.57%" stop-color="#2cdbf7"/><stop offset="57.14%" stop-color="#3cdef4"/><stop offset="60.71%" stop-color="#49e1f1"/><stop offset="64.29%" stop-color="#54e4ee"/><stop offset="67.86%" stop-color="#5ee7eb"/><stop offset="71.43%" stop-color="#68e9e8"/><stop offset="75%" stop-color="#70ece5"/><stop offset="78.57%" stop-color="#79efe1"/><stop offset="82.14%" stop-color="#81f2de"/><stop offset="85.71%" stop-color="#89f4da"/><stop offset="89.29%" stop-color="#90f7d7"/><stop offset="92.86%" stop-color="#98fad3"/><stop offset="96.43%" stop-color="#9ffccf"/><stop offset="100%" stop-color="#a6ffcb"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "stripe": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.122,
            0.635,
            1
          ],
          "hex": "#1fa2ff"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.071,
            0.847,
            0.98
          ],
          "hex": "#12d8fa"
        },
        "position": 0.5
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.651,
            1,
            0.796
          ],
          "hex": "#a6ffcb"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #1fa2ff 0%, #12d8fa 50%, #a6ffcb 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Stripe",
        "contrast": {
          "white": {
            "ratio": 1.181,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 7.67,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Stripe (uiGradients, MIT), rendered in OKLab."
  }
}

Tagged

More blue 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 Stripe gradient (#1fa2ff, #12d8fa, #a6ffcb), 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