Named gradient · uiGradients

Flower

Flower is a green gradient from uiGradients (MIT) — #dcffbd → #cc86d1 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 7.90:1 · AA
white 1.10 failsblack 7.90 AAbanding 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.

sRGB12%
OKLab12%
OKLCH83%

Report

  • white ink: worst 1.10:1 at 0% (fails AA); black ink: worst 7.90:1 at 100% (AA) → use black text.
  • Banding medium: ~12px bands at 1440px — add grain 25 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #dcffbd 0%, #dcf7c0 7.14%, #dbeec2 14.29%, #dae6c4 21.43%, #daddc6 28.57%, #d9d5c8 35.71%, #d8cdc9 42.86%, #d7c4cb 50%, #d6bbcc 57.14%, #d4b3cd 64.29%, #d3aace 71.43%, #d1a1cf 78.57%, #d098d0 85.71%, #ce8fd0 92.86%, #cc86d1 100%);
  background-image: linear-gradient(90deg in oklab, #dcffbd 0%, #cc86d1 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#dcffbd] to-[#cc86d1]
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="#dcffbd"/><stop offset="7.14%" stop-color="#dcf7c0"/><stop offset="14.29%" stop-color="#dbeec2"/><stop offset="21.43%" stop-color="#dae6c4"/><stop offset="28.57%" stop-color="#daddc6"/><stop offset="35.71%" stop-color="#d9d5c8"/><stop offset="42.86%" stop-color="#d8cdc9"/><stop offset="50%" stop-color="#d7c4cb"/><stop offset="57.14%" stop-color="#d6bbcc"/><stop offset="64.29%" stop-color="#d4b3cd"/><stop offset="71.43%" stop-color="#d3aace"/><stop offset="78.57%" stop-color="#d1a1cf"/><stop offset="85.71%" stop-color="#d098d0"/><stop offset="92.86%" stop-color="#ce8fd0"/><stop offset="100%" stop-color="#cc86d1"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "flower": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.863,
            1,
            0.741
          ],
          "hex": "#dcffbd"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.8,
            0.525,
            0.82
          ],
          "hex": "#cc86d1"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #dcffbd 0%, #cc86d1 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Flower",
        "contrast": {
          "white": {
            "ratio": 1.101,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 7.898,
            "at": 1,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Flower (uiGradients, MIT), rendered in OKLab."
  }
}

Tagged

More green 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 Flower gradient (#dcffbd, #cc86d1), 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