Named gradient · uiGradients

Instagram

Instagram is a purple gradient from uiGradients (MIT) — #833ab4 → #fd1d1d → #fcb045 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 3.23:1 · AA large
white 1.84 failsblack 3.23 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.

sRGB88%
OKLab88%
OKLCH88%

Report

  • white ink: worst 1.84:1 at 100% (fails AA); black ink: worst 3.23:1 at 0% (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: ~5px bands at 1440px — add grain 7 (≈1% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #833ab4 0%, #8b3dad 3.57%, #9340a5 7.14%, #9c419d 10.71%, #a44395 14.29%, #ad438d 17.86%, #b54385 21.43%, #be427c 25%, #c74073 28.57%, #d03e69 32.14%, #d93b5e 35.71%, #e23653 39.29%, #eb3045 42.86%, #f42935 46.43%, #fd1d1d 50%, #fe3320 53.57%, #fe4223 57.14%, #ff4f26 60.71%, #ff5a29 64.29%, #ff642c 67.86%, #ff6e2f 71.43%, #ff7731 75%, #ff8034 78.57%, #ff8837 82.14%, #ff913a 85.71%, #ff993d 89.29%, #fea13f 92.86%, #fda842 96.43%, #fcb045 100%);
  background-image: linear-gradient(90deg in oklab, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#833ab4] via-[#fd1d1d] to-[#fcb045]
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="#833ab4"/><stop offset="3.57%" stop-color="#8b3dad"/><stop offset="7.14%" stop-color="#9340a5"/><stop offset="10.71%" stop-color="#9c419d"/><stop offset="14.29%" stop-color="#a44395"/><stop offset="17.86%" stop-color="#ad438d"/><stop offset="21.43%" stop-color="#b54385"/><stop offset="25%" stop-color="#be427c"/><stop offset="28.57%" stop-color="#c74073"/><stop offset="32.14%" stop-color="#d03e69"/><stop offset="35.71%" stop-color="#d93b5e"/><stop offset="39.29%" stop-color="#e23653"/><stop offset="42.86%" stop-color="#eb3045"/><stop offset="46.43%" stop-color="#f42935"/><stop offset="50%" stop-color="#fd1d1d"/><stop offset="53.57%" stop-color="#fe3320"/><stop offset="57.14%" stop-color="#fe4223"/><stop offset="60.71%" stop-color="#ff4f26"/><stop offset="64.29%" stop-color="#ff5a29"/><stop offset="67.86%" stop-color="#ff642c"/><stop offset="71.43%" stop-color="#ff6e2f"/><stop offset="75%" stop-color="#ff7731"/><stop offset="78.57%" stop-color="#ff8034"/><stop offset="82.14%" stop-color="#ff8837"/><stop offset="85.71%" stop-color="#ff913a"/><stop offset="89.29%" stop-color="#ff993d"/><stop offset="92.86%" stop-color="#fea13f"/><stop offset="96.43%" stop-color="#fda842"/><stop offset="100%" stop-color="#fcb045"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "instagram": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.514,
            0.227,
            0.706
          ],
          "hex": "#833ab4"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.992,
            0.114,
            0.114
          ],
          "hex": "#fd1d1d"
        },
        "position": 0.5
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.988,
            0.69,
            0.271
          ],
          "hex": "#fcb045"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #833ab4 0%, #fd1d1d 50%, #fcb045 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Instagram",
        "contrast": {
          "white": {
            "ratio": 1.836,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 3.229,
            "at": 0,
            "passesAA": false,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Instagram (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 Instagram gradient (#833ab4, #fd1d1d, #fcb045), 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