Named gradient · WebGradients

Near Moon

Near Moon is a purple gradient from WebGradients (MIT) — #5ee7df → #b490ca 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 7.78:1 · AA
white 1.50 failsblack 7.78 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.

sRGB54%
OKLab47%
OKLCH87%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(0deg, #5ee7df 0%, #6ae1de 7.14%, #75dbdc 14.29%, #7ed5db 21.43%, #86cfd9 28.57%, #8dc9d8 35.71%, #93c3d6 42.86%, #99bdd5 50%, #9eb6d3 57.14%, #a2b0d2 64.29%, #a6aad0 71.43%, #aaa4cf 78.57%, #ae9dcd 85.71%, #b197cc 92.86%, #b490ca 100%);
  background-image: linear-gradient(0deg in oklab, #5ee7df 0%, #b490ca 100%);
}
tailwind v4
bg-linear-to-t/oklab from-[#5ee7df] to-[#b490ca]
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="#5ee7df"/><stop offset="7.14%" stop-color="#6ae1de"/><stop offset="14.29%" stop-color="#75dbdc"/><stop offset="21.43%" stop-color="#7ed5db"/><stop offset="28.57%" stop-color="#86cfd9"/><stop offset="35.71%" stop-color="#8dc9d8"/><stop offset="42.86%" stop-color="#93c3d6"/><stop offset="50%" stop-color="#99bdd5"/><stop offset="57.14%" stop-color="#9eb6d3"/><stop offset="64.29%" stop-color="#a2b0d2"/><stop offset="71.43%" stop-color="#a6aad0"/><stop offset="78.57%" stop-color="#aaa4cf"/><stop offset="85.71%" stop-color="#ae9dcd"/><stop offset="92.86%" stop-color="#b197cc"/><stop offset="100%" stop-color="#b490ca"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "near-moon": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.369,
            0.906,
            0.875
          ],
          "hex": "#5ee7df"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.706,
            0.565,
            0.792
          ],
          "hex": "#b490ca"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(0deg in oklab, #5ee7df 0%, #b490ca 100%)",
        "interpolation": "oklab",
        "angle": 0,
        "name": "Near Moon",
        "contrast": {
          "white": {
            "ratio": 1.503,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 7.783,
            "at": 1,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Near Moon (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 Near Moon gradient (#5ee7df, #b490ca), 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