Named gradient · uiGradients

Talking To Mice Elf

Talking To Mice Elf is a purple gradient from uiGradients (MIT) — #948e99 → #2e1437 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
white text · worst 3.19:1 · AA large
white 3.19 AA largeblack 1.27 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.

sRGB40%
OKLab40%
OKLCH40%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(90deg, #948e99 0%, #8c8592 7.14%, #857b8a 14.29%, #7d7283 21.43%, #75697c 28.57%, #6e6075 35.71%, #66576e 42.86%, #5f4e67 50%, #584660 57.14%, #513d59 64.29%, #4a3552 71.43%, #432c4b 78.57%, #3c2444 85.71%, #351c3e 92.86%, #2e1437 100%);
  background-image: linear-gradient(90deg in oklab, #948e99 0%, #2e1437 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#948e99] to-[#2e1437]
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="#948e99"/><stop offset="7.14%" stop-color="#8c8592"/><stop offset="14.29%" stop-color="#857b8a"/><stop offset="21.43%" stop-color="#7d7283"/><stop offset="28.57%" stop-color="#75697c"/><stop offset="35.71%" stop-color="#6e6075"/><stop offset="42.86%" stop-color="#66576e"/><stop offset="50%" stop-color="#5f4e67"/><stop offset="57.14%" stop-color="#584660"/><stop offset="64.29%" stop-color="#513d59"/><stop offset="71.43%" stop-color="#4a3552"/><stop offset="78.57%" stop-color="#432c4b"/><stop offset="85.71%" stop-color="#3c2444"/><stop offset="92.86%" stop-color="#351c3e"/><stop offset="100%" stop-color="#2e1437"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "talking-to-mice-elf-ui": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.58,
            0.557,
            0.6
          ],
          "hex": "#948e99"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.18,
            0.078,
            0.216
          ],
          "hex": "#2e1437"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #948e99 0%, #2e1437 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Talking To Mice Elf",
        "contrast": {
          "white": {
            "ratio": 3.187,
            "at": 0,
            "passesAA": false,
            "passesAALarge": true
          },
          "black": {
            "ratio": 1.271,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Talking To Mice Elf (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 Talking To Mice Elf gradient (#948e99, #2e1437), 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