Named gradient · WebGradients

Night Party

Night Party is a blue gradient from WebGradients (MIT) — #0250c5 → #d43f8d 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
white text · worst 4.29:1 · AA large
white 4.29 AA largeblack 2.96 failsbanding medium

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.

sRGB76%
OKLab69%
OKLCH99%

Report

  • white ink: worst 4.29:1 at 100% (AA-large only); black ink: worst 2.96:1 at 0% (fails AA) → use white text.
  • Body text fails AA everywhere on this gradient; large text (≥24px / 19px bold) is fine. Add a scrim or lower the chroma for body copy.
  • Banding medium: ~7px bands at 1440px — add grain 13 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(0deg, #0250c5 0%, #2952c1 7.14%, #3e54be 14.29%, #4e55ba 21.43%, #5c56b6 28.57%, #6a56b3 35.71%, #7756af 42.86%, #8355ab 50%, #8f54a7 57.14%, #9b53a3 64.29%, #a6509f 71.43%, #b24e9a 78.57%, #bd4a96 85.71%, #c94592 92.86%, #d43f8d 100%);
  background-image: linear-gradient(0deg in oklab, #0250c5 0%, #d43f8d 100%);
}
tailwind v4
bg-linear-to-t/oklab from-[#0250c5] to-[#d43f8d]
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="#0250c5"/><stop offset="7.14%" stop-color="#2952c1"/><stop offset="14.29%" stop-color="#3e54be"/><stop offset="21.43%" stop-color="#4e55ba"/><stop offset="28.57%" stop-color="#5c56b6"/><stop offset="35.71%" stop-color="#6a56b3"/><stop offset="42.86%" stop-color="#7756af"/><stop offset="50%" stop-color="#8355ab"/><stop offset="57.14%" stop-color="#8f54a7"/><stop offset="64.29%" stop-color="#9b53a3"/><stop offset="71.43%" stop-color="#a6509f"/><stop offset="78.57%" stop-color="#b24e9a"/><stop offset="85.71%" stop-color="#bd4a96"/><stop offset="92.86%" stop-color="#c94592"/><stop offset="100%" stop-color="#d43f8d"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "night-party": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.008,
            0.314,
            0.773
          ],
          "hex": "#0250c5"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.831,
            0.247,
            0.553
          ],
          "hex": "#d43f8d"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(0deg in oklab, #0250c5 0%, #d43f8d 100%)",
        "interpolation": "oklab",
        "angle": 0,
        "name": "Night Party",
        "contrast": {
          "white": {
            "ratio": 4.29,
            "at": 1,
            "passesAA": false,
            "passesAALarge": true
          },
          "black": {
            "ratio": 2.956,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Night Party (WebGradients, 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 Night Party gradient (#0250c5, #d43f8d), 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