Named gradient · uiGradients

Transfile

Transfile is a blue gradient from uiGradients (MIT) — #16bffd → #cb3066 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 4.15:1 · AA large
white 2.12 failsblack 4.15 AA largebanding 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.

sRGB51%
OKLab38%
OKLCH87%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(90deg, #16bffd 0%, #49b7f2 7.14%, #63b0e7 14.29%, #75a8dc 21.43%, #839fd1 28.57%, #8f97c6 35.71%, #9a8fbb 42.86%, #a386b0 50%, #ab7ca6 57.14%, #b2739b 64.29%, #b86890 71.43%, #bd5d86 78.57%, #c2517b 85.71%, #c74271 92.86%, #cb3066 100%);
  background-image: linear-gradient(90deg in oklab, #16bffd 0%, #cb3066 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#16bffd] to-[#cb3066]
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="#16bffd"/><stop offset="7.14%" stop-color="#49b7f2"/><stop offset="14.29%" stop-color="#63b0e7"/><stop offset="21.43%" stop-color="#75a8dc"/><stop offset="28.57%" stop-color="#839fd1"/><stop offset="35.71%" stop-color="#8f97c6"/><stop offset="42.86%" stop-color="#9a8fbb"/><stop offset="50%" stop-color="#a386b0"/><stop offset="57.14%" stop-color="#ab7ca6"/><stop offset="64.29%" stop-color="#b2739b"/><stop offset="71.43%" stop-color="#b86890"/><stop offset="78.57%" stop-color="#bd5d86"/><stop offset="85.71%" stop-color="#c2517b"/><stop offset="92.86%" stop-color="#c74271"/><stop offset="100%" stop-color="#cb3066"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "transfile": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.086,
            0.749,
            0.992
          ],
          "hex": "#16bffd"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.796,
            0.188,
            0.4
          ],
          "hex": "#cb3066"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #16bffd 0%, #cb3066 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Transfile",
        "contrast": {
          "white": {
            "ratio": 2.12,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 4.154,
            "at": 1,
            "passesAA": false,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Transfile (uiGradients, MIT), rendered in OKLab."
  }
}

Tagged

More blue 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 Transfile gradient (#16bffd, #cb3066), 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