Named gradient · uiGradients

Dirty Fog

Dirty Fog is a purple gradient from uiGradients (MIT) — #b993d6 → #8ca6db at 90°. 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 8.18:1 · AA
white 2.44 failsblack 8.18 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.

sRGB88%
OKLab87%
OKLCH89%

Report

  • white ink: worst 2.44:1 at 98% (fails AA); black ink: worst 8.18:1 at 2% (AA) → use black text.
  • Banding high: ~32px bands at 1440px — add grain 50 (≈3% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #b993d6 0%, #b694d6 7.14%, #b396d7 14.29%, #b097d7 21.43%, #ad99d7 28.57%, #aa9ad8 35.71%, #a79cd8 42.86%, #a49dd8 50%, #a19ed9 57.14%, #9ea0d9 64.29%, #9aa1da 71.43%, #97a2da 78.57%, #93a3da 85.71%, #90a5db 92.86%, #8ca6db 100%);
  background-image: linear-gradient(90deg in oklab, #b993d6 0%, #8ca6db 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#b993d6] to-[#8ca6db]
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="0" y1="300" x2="1440" y2="300"><stop offset="0%" stop-color="#b993d6"/><stop offset="7.14%" stop-color="#b694d6"/><stop offset="14.29%" stop-color="#b396d7"/><stop offset="21.43%" stop-color="#b097d7"/><stop offset="28.57%" stop-color="#ad99d7"/><stop offset="35.71%" stop-color="#aa9ad8"/><stop offset="42.86%" stop-color="#a79cd8"/><stop offset="50%" stop-color="#a49dd8"/><stop offset="57.14%" stop-color="#a19ed9"/><stop offset="64.29%" stop-color="#9ea0d9"/><stop offset="71.43%" stop-color="#9aa1da"/><stop offset="78.57%" stop-color="#97a2da"/><stop offset="85.71%" stop-color="#93a3da"/><stop offset="92.86%" stop-color="#90a5db"/><stop offset="100%" stop-color="#8ca6db"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "dirty-fog": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.725,
            0.576,
            0.839
          ],
          "hex": "#b993d6"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.549,
            0.651,
            0.859
          ],
          "hex": "#8ca6db"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #b993d6 0%, #8ca6db 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Dirty Fog",
        "contrast": {
          "white": {
            "ratio": 2.439,
            "at": 0.9841,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 8.183,
            "at": 0.0159,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Dirty Fog (uiGradients, 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 Dirty Fog gradient (#b993d6, #8ca6db), 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 uiGradients (MIT) — licences