Named gradient · WebGradients

Premium White

Premium White is a neutral gradient from WebGradients (MIT) — #d5d4d0 → #d5d4d0 → #eeeeec at 0°. 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 14.16:1 · AA
white 1.16 failsblack 14.16 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.

sRGB65%
OKLab65%
OKLCH65%

Report

  • white ink: worst 1.16:1 at 31% (fails AA); black ink: worst 14.16:1 at 0% (AA) → use black text.
  • Banding high: ~15px bands at 1440px — add grain 32 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(0deg, #d5d4d0 0%, #d5d4d0 0.07%, #d5d4d0 0.14%, #d5d4d0 0.21%, #d5d4d0 0.29%, #d5d4d0 0.36%, #d5d4d0 0.43%, #d5d4d0 0.5%, #d5d4d0 0.57%, #d5d4d0 0.64%, #d5d4d0 0.71%, #d5d4d0 0.79%, #d5d4d0 0.86%, #d5d4d0 0.93%, #d5d4d0 1%, #d7d6d2 3.14%, #d9d8d4 5.29%, #dadad6 7.43%, #dcdbd8 9.57%, #deddda 11.71%, #e0dfdc 13.86%, #e1e1de 16%, #e3e3e0 18.14%, #e5e5e2 20.29%, #e7e7e4 22.43%, #e9e8e6 24.57%, #eaeae8 26.71%, #ececea 28.86%, #eeeeec 31%);
  background-image: linear-gradient(0deg in oklab, #d5d4d0 0%, #d5d4d0 1%, #eeeeec 31%);
}
tailwind v4
bg-linear-to-t/oklab from-[#d5d4d0] via-[#d5d4d0] via-1% to-[#eeeeec] to-31%
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="720" y1="600" x2="720" y2="0"><stop offset="0%" stop-color="#d5d4d0"/><stop offset="0.07%" stop-color="#d5d4d0"/><stop offset="0.14%" stop-color="#d5d4d0"/><stop offset="0.21%" stop-color="#d5d4d0"/><stop offset="0.29%" stop-color="#d5d4d0"/><stop offset="0.36%" stop-color="#d5d4d0"/><stop offset="0.43%" stop-color="#d5d4d0"/><stop offset="0.5%" stop-color="#d5d4d0"/><stop offset="0.57%" stop-color="#d5d4d0"/><stop offset="0.64%" stop-color="#d5d4d0"/><stop offset="0.71%" stop-color="#d5d4d0"/><stop offset="0.79%" stop-color="#d5d4d0"/><stop offset="0.86%" stop-color="#d5d4d0"/><stop offset="0.93%" stop-color="#d5d4d0"/><stop offset="1%" stop-color="#d5d4d0"/><stop offset="3.14%" stop-color="#d7d6d2"/><stop offset="5.29%" stop-color="#d9d8d4"/><stop offset="7.43%" stop-color="#dadad6"/><stop offset="9.57%" stop-color="#dcdbd8"/><stop offset="11.71%" stop-color="#deddda"/><stop offset="13.86%" stop-color="#e0dfdc"/><stop offset="16%" stop-color="#e1e1de"/><stop offset="18.14%" stop-color="#e3e3e0"/><stop offset="20.29%" stop-color="#e5e5e2"/><stop offset="22.43%" stop-color="#e7e7e4"/><stop offset="24.57%" stop-color="#e9e8e6"/><stop offset="26.71%" stop-color="#eaeae8"/><stop offset="28.86%" stop-color="#ececea"/><stop offset="31%" stop-color="#eeeeec"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "premium-white": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.835,
            0.831,
            0.816
          ],
          "hex": "#d5d4d0"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.835,
            0.831,
            0.816
          ],
          "hex": "#d5d4d0"
        },
        "position": 0.01
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.933,
            0.933,
            0.925
          ],
          "hex": "#eeeeec"
        },
        "position": 0.31
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(0deg in oklab, #d5d4d0 0%, #d5d4d0 1%, #eeeeec 31%)",
        "interpolation": "oklab",
        "angle": 0,
        "name": "Premium White",
        "contrast": {
          "white": {
            "ratio": 1.162,
            "at": 0.31,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 14.157,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Premium White (WebGradients, MIT), rendered in OKLab."
  }
}

Tagged

More neutral 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 Premium White gradient (#d5d4d0, #d5d4d0, #eeeeec), 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 WebGradients (MIT) — licences