Named gradient · WebGradients

Black Sea

Black Sea is a purple gradient from WebGradients (MIT) — #2cd8d5 → #6b8dd6 → #8e37d7 at 135°. 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 3.68:1 · AA large
white 1.77 failsblack 3.68 AA largebanding 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.

sRGB59%
OKLab56%
OKLCH65%

Report

  • white ink: worst 1.77:1 at 0% (fails AA); black ink: worst 3.68:1 at 100% (AA-large only) → use black 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 high: ~9px bands at 1440px — add grain 19 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(135deg, #2cd8d5 0%, #36d3d5 3.43%, #3fcdd6 6.86%, #46c8d6 10.29%, #4bc3d6 13.71%, #50bed6 17.14%, #55b8d6 20.57%, #59b3d7 24%, #5caed7 27.43%, #5fa8d7 30.86%, #62a3d7 34.29%, #659ed6 37.71%, #6798d6 41.14%, #6993d6 44.57%, #6b8dd6 48%, #6f88d6 51.71%, #7383d6 55.43%, #767ed7 59.14%, #7979d7 62.86%, #7c73d7 66.57%, #7f6ed7 70.29%, #8168d7 74%, #8462d7 77.71%, #865cd7 81.43%, #8856d7 85.14%, #8a4fd7 88.86%, #8b48d7 92.57%, #8d40d7 96.29%, #8e37d7 100%);
  background-image: linear-gradient(135deg in oklab, #2cd8d5 0%, #6b8dd6 48%, #8e37d7 100%);
}
tailwind v4
bg-linear-to-br/oklab from-[#2cd8d5] via-[#6b8dd6] via-48% to-[#8e37d7]
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="210" y1="-210" x2="1230" y2="810"><stop offset="0%" stop-color="#2cd8d5"/><stop offset="3.43%" stop-color="#36d3d5"/><stop offset="6.86%" stop-color="#3fcdd6"/><stop offset="10.29%" stop-color="#46c8d6"/><stop offset="13.71%" stop-color="#4bc3d6"/><stop offset="17.14%" stop-color="#50bed6"/><stop offset="20.57%" stop-color="#55b8d6"/><stop offset="24%" stop-color="#59b3d7"/><stop offset="27.43%" stop-color="#5caed7"/><stop offset="30.86%" stop-color="#5fa8d7"/><stop offset="34.29%" stop-color="#62a3d7"/><stop offset="37.71%" stop-color="#659ed6"/><stop offset="41.14%" stop-color="#6798d6"/><stop offset="44.57%" stop-color="#6993d6"/><stop offset="48%" stop-color="#6b8dd6"/><stop offset="51.71%" stop-color="#6f88d6"/><stop offset="55.43%" stop-color="#7383d6"/><stop offset="59.14%" stop-color="#767ed7"/><stop offset="62.86%" stop-color="#7979d7"/><stop offset="66.57%" stop-color="#7c73d7"/><stop offset="70.29%" stop-color="#7f6ed7"/><stop offset="74%" stop-color="#8168d7"/><stop offset="77.71%" stop-color="#8462d7"/><stop offset="81.43%" stop-color="#865cd7"/><stop offset="85.14%" stop-color="#8856d7"/><stop offset="88.86%" stop-color="#8a4fd7"/><stop offset="92.57%" stop-color="#8b48d7"/><stop offset="96.29%" stop-color="#8d40d7"/><stop offset="100%" stop-color="#8e37d7"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "black-sea": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.173,
            0.847,
            0.835
          ],
          "hex": "#2cd8d5"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.42,
            0.553,
            0.839
          ],
          "hex": "#6b8dd6"
        },
        "position": 0.48
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.557,
            0.216,
            0.843
          ],
          "hex": "#8e37d7"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(135deg in oklab, #2cd8d5 0%, #6b8dd6 48%, #8e37d7 100%)",
        "interpolation": "oklab",
        "angle": 135,
        "name": "Black Sea",
        "contrast": {
          "white": {
            "ratio": 1.766,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 3.678,
            "at": 1,
            "passesAA": false,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Black Sea (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 Black Sea gradient (#2cd8d5, #6b8dd6, #8e37d7), 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