Named gradient · WebGradients

Dense Water

Dense Water is a purple gradient from WebGradients (MIT) — #3ab5b0 → #3d99be → #56317a 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 2.50:1 · fails
white 2.50 failsblack 2.12 failsbanding 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.

sRGB82%
OKLab76%
OKLCH90%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(0deg, #3ab5b0 0%, #3ab3b1 2.21%, #3ab1b2 4.43%, #3bafb3 6.64%, #3badb4 8.86%, #3babb5 11.07%, #3ba9b6 13.29%, #3ba7b7 15.5%, #3ca5b8 17.71%, #3ca3b9 19.93%, #3ca1ba 22.14%, #3c9fbb 24.36%, #3d9dbc 26.57%, #3d9bbd 28.79%, #3d99be 31%, #4392b9 35.93%, #488ab4 40.86%, #4c83af 45.79%, #507caa 50.71%, #5274a5 55.64%, #546da1 60.57%, #56669c 65.5%, #575e97 70.43%, #575792 75.36%, #58508d 80.29%, #584888 85.21%, #574184 90.14%, #57397f 95.07%, #56317a 100%);
  background-image: linear-gradient(0deg in oklab, #3ab5b0 0%, #3d99be 31%, #56317a 100%);
}
tailwind v4
bg-linear-to-t/oklab from-[#3ab5b0] via-[#3d99be] via-31% to-[#56317a]
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="#3ab5b0"/><stop offset="2.21%" stop-color="#3ab3b1"/><stop offset="4.43%" stop-color="#3ab1b2"/><stop offset="6.64%" stop-color="#3bafb3"/><stop offset="8.86%" stop-color="#3badb4"/><stop offset="11.07%" stop-color="#3babb5"/><stop offset="13.29%" stop-color="#3ba9b6"/><stop offset="15.5%" stop-color="#3ba7b7"/><stop offset="17.71%" stop-color="#3ca5b8"/><stop offset="19.93%" stop-color="#3ca3b9"/><stop offset="22.14%" stop-color="#3ca1ba"/><stop offset="24.36%" stop-color="#3c9fbb"/><stop offset="26.57%" stop-color="#3d9dbc"/><stop offset="28.79%" stop-color="#3d9bbd"/><stop offset="31%" stop-color="#3d99be"/><stop offset="35.93%" stop-color="#4392b9"/><stop offset="40.86%" stop-color="#488ab4"/><stop offset="45.79%" stop-color="#4c83af"/><stop offset="50.71%" stop-color="#507caa"/><stop offset="55.64%" stop-color="#5274a5"/><stop offset="60.57%" stop-color="#546da1"/><stop offset="65.5%" stop-color="#56669c"/><stop offset="70.43%" stop-color="#575e97"/><stop offset="75.36%" stop-color="#575792"/><stop offset="80.29%" stop-color="#58508d"/><stop offset="85.21%" stop-color="#584888"/><stop offset="90.14%" stop-color="#574184"/><stop offset="95.07%" stop-color="#57397f"/><stop offset="100%" stop-color="#56317a"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "dense-water": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.227,
            0.71,
            0.69
          ],
          "hex": "#3ab5b0"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.239,
            0.6,
            0.745
          ],
          "hex": "#3d99be"
        },
        "position": 0.31
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.337,
            0.192,
            0.478
          ],
          "hex": "#56317a"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(0deg in oklab, #3ab5b0 0%, #3d99be 31%, #56317a 100%)",
        "interpolation": "oklab",
        "angle": 0,
        "name": "Dense Water",
        "contrast": {
          "white": {
            "ratio": 2.495,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 2.116,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Dense Water (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 Dense Water gradient (#3ab5b0, #3d99be, #56317a), 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