Named gradient · uiGradients

Mantle

Mantle is a teal gradient from uiGradients (MIT) — #24c6dc → #514a9d 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 2.82:1 · fails
white 2.06 failsblack 2.82 failsbanding 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.

sRGB86%
OKLab79%
OKLCH98%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(90deg, #24c6dc 0%, #30bdd8 7.14%, #38b4d3 14.29%, #3fabcf 21.43%, #44a2ca 28.57%, #489ac6 35.71%, #4b91c2 42.86%, #4d88bd 50%, #4f7fb9 57.14%, #5076b4 64.29%, #516eaf 71.43%, #5265ab 78.57%, #525ca6 85.71%, #5253a2 92.86%, #514a9d 100%);
  background-image: linear-gradient(90deg in oklab, #24c6dc 0%, #514a9d 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#24c6dc] to-[#514a9d]
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="#24c6dc"/><stop offset="7.14%" stop-color="#30bdd8"/><stop offset="14.29%" stop-color="#38b4d3"/><stop offset="21.43%" stop-color="#3fabcf"/><stop offset="28.57%" stop-color="#44a2ca"/><stop offset="35.71%" stop-color="#489ac6"/><stop offset="42.86%" stop-color="#4b91c2"/><stop offset="50%" stop-color="#4d88bd"/><stop offset="57.14%" stop-color="#4f7fb9"/><stop offset="64.29%" stop-color="#5076b4"/><stop offset="71.43%" stop-color="#516eaf"/><stop offset="78.57%" stop-color="#5265ab"/><stop offset="85.71%" stop-color="#525ca6"/><stop offset="92.86%" stop-color="#5253a2"/><stop offset="100%" stop-color="#514a9d"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "mantle": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.141,
            0.776,
            0.863
          ],
          "hex": "#24c6dc"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.318,
            0.29,
            0.616
          ],
          "hex": "#514a9d"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #24c6dc 0%, #514a9d 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Mantle",
        "contrast": {
          "white": {
            "ratio": 2.061,
            "at": 0.004,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 2.816,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Mantle (uiGradients, MIT), rendered in OKLab."
  }
}

Tagged

More teal 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 Mantle gradient (#24c6dc, #514a9d), 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