Named gradient · uiGradients

Newspaper

Newspaper is a purple gradient from uiGradients (MIT) — #8a2be2 → #ffa500 → #f8f8ff 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.52:1 · AA large
white 1.06 failsblack 3.52 AA largebanding low

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.

sRGB3%
OKLab4%
OKLCH7%

Report

  • white ink: worst 1.06:1 at 100% (fails AA); black ink: worst 3.52: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.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #8a2be2 0%, #903eda 3.57%, #974cd1 7.14%, #9e58c9 10.71%, #a562c0 14.29%, #ad6bb6 17.86%, #b573ac 21.43%, #be7ba1 25%, #c68296 28.57%, #cf888a 32.14%, #d88f7c 35.71%, #e2956c 39.29%, #eb9a59 42.86%, #f5a03f 46.43%, #ffa500 50%, #ffac34 53.57%, #ffb24d 57.14%, #ffb860 60.71%, #ffbe71 64.29%, #ffc581 67.86%, #fecb91 71.43%, #fed19f 75%, #fdd6ad 78.57%, #fddcbb 82.14%, #fce2c9 85.71%, #fbe7d7 89.29%, #faede4 92.86%, #f9f3f2 96.43%, #f8f8ff 100%);
  background-image: linear-gradient(90deg in oklab, #8a2be2 0%, #ffa500 50%, #f8f8ff 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#8a2be2] via-[#ffa500] to-[#f8f8ff]
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="#8a2be2"/><stop offset="3.57%" stop-color="#903eda"/><stop offset="7.14%" stop-color="#974cd1"/><stop offset="10.71%" stop-color="#9e58c9"/><stop offset="14.29%" stop-color="#a562c0"/><stop offset="17.86%" stop-color="#ad6bb6"/><stop offset="21.43%" stop-color="#b573ac"/><stop offset="25%" stop-color="#be7ba1"/><stop offset="28.57%" stop-color="#c68296"/><stop offset="32.14%" stop-color="#cf888a"/><stop offset="35.71%" stop-color="#d88f7c"/><stop offset="39.29%" stop-color="#e2956c"/><stop offset="42.86%" stop-color="#eb9a59"/><stop offset="46.43%" stop-color="#f5a03f"/><stop offset="50%" stop-color="#ffa500"/><stop offset="53.57%" stop-color="#ffac34"/><stop offset="57.14%" stop-color="#ffb24d"/><stop offset="60.71%" stop-color="#ffb860"/><stop offset="64.29%" stop-color="#ffbe71"/><stop offset="67.86%" stop-color="#ffc581"/><stop offset="71.43%" stop-color="#fecb91"/><stop offset="75%" stop-color="#fed19f"/><stop offset="78.57%" stop-color="#fdd6ad"/><stop offset="82.14%" stop-color="#fddcbb"/><stop offset="85.71%" stop-color="#fce2c9"/><stop offset="89.29%" stop-color="#fbe7d7"/><stop offset="92.86%" stop-color="#faede4"/><stop offset="96.43%" stop-color="#f9f3f2"/><stop offset="100%" stop-color="#f8f8ff"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "newspaper": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.541,
            0.169,
            0.886
          ],
          "hex": "#8a2be2"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            1,
            0.647,
            0
          ],
          "hex": "#ffa500"
        },
        "position": 0.5
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.973,
            0.973,
            1
          ],
          "hex": "#f8f8ff"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #8a2be2 0%, #ffa500 50%, #f8f8ff 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Newspaper",
        "contrast": {
          "white": {
            "ratio": 1.057,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 3.524,
            "at": 0,
            "passesAA": false,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Newspaper (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 Newspaper gradient (#8a2be2, #ffa500, #f8f8ff), 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