Named gradient · WebGradients

New Retrowave

New Retrowave is a purple gradient from WebGradients (MIT) — #3b41c5 → #a981bb → #ffc8a9 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 2.75:1 · fails
white 1.49 failsblack 2.75 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.

sRGB42%
OKLab40%
OKLCH55%

Report

  • white ink: worst 1.49:1 at 100% (fails AA); black ink: worst 2.75:1 at 0% (fails AA) → use black text.
  • Neither ink passes AA at the worst point — treat as decorative or add a scrim (rgba(0,0,0,.35) typically lifts white ink past 4:1).
  • Banding medium: ~9px bands at 1440px — add grain 17 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(0deg, #3b41c5 0%, #4247c5 3.5%, #4a4dc4 7%, #5152c4 10.5%, #5957c3 14%, #615cc3 17.5%, #6861c2 21%, #7065c2 24.5%, #786ac1 28%, #806ec0 31.5%, #8872bf 35%, #9076be 38.5%, #987abd 42%, #a17dbc 45.5%, #a981bb 49%, #af86ba 52.64%, #b58bba 56.29%, #ba91b9 59.93%, #c096b8 63.57%, #c69bb7 67.21%, #cda0b6 70.86%, #d3a5b5 74.5%, #d9aab4 78.14%, #dfafb2 81.79%, #e5b4b1 85.43%, #ecb9af 89.07%, #f2bead 92.71%, #f9c3ab 96.36%, #ffc8a9 100%);
  background-image: linear-gradient(0deg in oklab, #3b41c5 0%, #a981bb 49%, #ffc8a9 100%);
}
tailwind v4
bg-linear-to-t/oklab from-[#3b41c5] via-[#a981bb] via-49% to-[#ffc8a9]
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="#3b41c5"/><stop offset="3.5%" stop-color="#4247c5"/><stop offset="7%" stop-color="#4a4dc4"/><stop offset="10.5%" stop-color="#5152c4"/><stop offset="14%" stop-color="#5957c3"/><stop offset="17.5%" stop-color="#615cc3"/><stop offset="21%" stop-color="#6861c2"/><stop offset="24.5%" stop-color="#7065c2"/><stop offset="28%" stop-color="#786ac1"/><stop offset="31.5%" stop-color="#806ec0"/><stop offset="35%" stop-color="#8872bf"/><stop offset="38.5%" stop-color="#9076be"/><stop offset="42%" stop-color="#987abd"/><stop offset="45.5%" stop-color="#a17dbc"/><stop offset="49%" stop-color="#a981bb"/><stop offset="52.64%" stop-color="#af86ba"/><stop offset="56.29%" stop-color="#b58bba"/><stop offset="59.93%" stop-color="#ba91b9"/><stop offset="63.57%" stop-color="#c096b8"/><stop offset="67.21%" stop-color="#c69bb7"/><stop offset="70.86%" stop-color="#cda0b6"/><stop offset="74.5%" stop-color="#d3a5b5"/><stop offset="78.14%" stop-color="#d9aab4"/><stop offset="81.79%" stop-color="#dfafb2"/><stop offset="85.43%" stop-color="#e5b4b1"/><stop offset="89.07%" stop-color="#ecb9af"/><stop offset="92.71%" stop-color="#f2bead"/><stop offset="96.36%" stop-color="#f9c3ab"/><stop offset="100%" stop-color="#ffc8a9"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "new-retrowave": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.231,
            0.255,
            0.773
          ],
          "hex": "#3b41c5"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.663,
            0.506,
            0.733
          ],
          "hex": "#a981bb"
        },
        "position": 0.49
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            1,
            0.784,
            0.663
          ],
          "hex": "#ffc8a9"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(0deg in oklab, #3b41c5 0%, #a981bb 49%, #ffc8a9 100%)",
        "interpolation": "oklab",
        "angle": 0,
        "name": "New Retrowave",
        "contrast": {
          "white": {
            "ratio": 1.491,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 2.748,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "New Retrowave (WebGradients, 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 New Retrowave gradient (#3b41c5, #a981bb, #ffc8a9), 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