Named gradient · uiGradients
Relay
Relay is a purple gradient from uiGradients (MIT) — #3a1c71 → #d76d77 → #ffaf7b 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.
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.
Report
- white ink: worst 1.80:1 at 100% (fails AA); black ink: worst 1.58:1 at 0% (fails AA) → use white 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 high: ~11px bands at 1440px — add grain 23 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #3a1c71 0%, #432473 3.57%, #4d2b74 7.14%, #573275 10.71%, #623876 14.29%, #6d3e77 17.86%, #784478 21.43%, #834979 25%, #8e4f79 28.57%, #9a5479 32.14%, #a65979 35.71%, #b25e79 39.29%, #be6379 42.86%, #cb6878 46.43%, #d76d77 50%, #da7278 53.57%, #dd7778 57.14%, #e07b79 60.71%, #e38079 64.29%, #e68579 67.86%, #e88a7a 71.43%, #eb8e7a 75%, #ee937a 78.57%, #f1987a 82.14%, #f49c7b 85.71%, #f7a17b 89.29%, #f9a67b 92.86%, #fcaa7b 96.43%, #ffaf7b 100%);
background-image: linear-gradient(90deg in oklab, #3a1c71 0%, #d76d77 50%, #ffaf7b 100%);
}bg-linear-to-r/oklab from-[#3a1c71] via-[#d76d77] to-[#ffaf7b]
<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="#3a1c71"/><stop offset="3.57%" stop-color="#432473"/><stop offset="7.14%" stop-color="#4d2b74"/><stop offset="10.71%" stop-color="#573275"/><stop offset="14.29%" stop-color="#623876"/><stop offset="17.86%" stop-color="#6d3e77"/><stop offset="21.43%" stop-color="#784478"/><stop offset="25%" stop-color="#834979"/><stop offset="28.57%" stop-color="#8e4f79"/><stop offset="32.14%" stop-color="#9a5479"/><stop offset="35.71%" stop-color="#a65979"/><stop offset="39.29%" stop-color="#b25e79"/><stop offset="42.86%" stop-color="#be6379"/><stop offset="46.43%" stop-color="#cb6878"/><stop offset="50%" stop-color="#d76d77"/><stop offset="53.57%" stop-color="#da7278"/><stop offset="57.14%" stop-color="#dd7778"/><stop offset="60.71%" stop-color="#e07b79"/><stop offset="64.29%" stop-color="#e38079"/><stop offset="67.86%" stop-color="#e68579"/><stop offset="71.43%" stop-color="#e88a7a"/><stop offset="75%" stop-color="#eb8e7a"/><stop offset="78.57%" stop-color="#ee937a"/><stop offset="82.14%" stop-color="#f1987a"/><stop offset="85.71%" stop-color="#f49c7b"/><stop offset="89.29%" stop-color="#f7a17b"/><stop offset="92.86%" stop-color="#f9a67b"/><stop offset="96.43%" stop-color="#fcaa7b"/><stop offset="100%" stop-color="#ffaf7b"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"relay": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.227,
0.11,
0.443
],
"hex": "#3a1c71"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.843,
0.427,
0.467
],
"hex": "#d76d77"
},
"position": 0.5
},
{
"color": {
"colorSpace": "srgb",
"components": [
1,
0.686,
0.482
],
"hex": "#ffaf7b"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #3a1c71 0%, #d76d77 50%, #ffaf7b 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Relay",
"contrast": {
"white": {
"ratio": 1.799,
"at": 1,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 1.584,
"at": 0,
"passesAA": false,
"passesAALarge": false
},
"suggestedInk": "#ffffff"
}
}
},
"$description": "Relay (uiGradients, MIT), rendered in OKLab."
}
}Tagged
More purple gradients
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.
https://mcp.brandsweets.com/gradients/mcpclaude mcp add --transport http brandsweets-gradients https://mcp.brandsweets.com/gradients/mcp
›take the Relay gradient (#3a1c71, #d76d77, #ffaf7b), 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