Named gradient · uiGradients
Steel Gray
Steel Gray is a purple gradient from uiGradients (MIT) — #1f1c2c → #928dab 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 3.17:1 at 100% (AA-large only); black ink: worst 1.26:1 at 0% (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: ~11px bands at 1440px — add grain 24 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #1f1c2c 0%, #262334 7.14%, #2e2a3c 14.29%, #353245 21.43%, #3d394d 28.57%, #454156 35.71%, #4d495f 42.86%, #555168 50%, #5d5971 57.14%, #66627b 64.29%, #6e6a84 71.43%, #77738e 78.57%, #807b97 85.71%, #8984a1 92.86%, #928dab 100%);
background-image: linear-gradient(90deg in oklab, #1f1c2c 0%, #928dab 100%);
}bg-linear-to-r/oklab from-[#1f1c2c] to-[#928dab]
<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="#1f1c2c"/><stop offset="7.14%" stop-color="#262334"/><stop offset="14.29%" stop-color="#2e2a3c"/><stop offset="21.43%" stop-color="#353245"/><stop offset="28.57%" stop-color="#3d394d"/><stop offset="35.71%" stop-color="#454156"/><stop offset="42.86%" stop-color="#4d495f"/><stop offset="50%" stop-color="#555168"/><stop offset="57.14%" stop-color="#5d5971"/><stop offset="64.29%" stop-color="#66627b"/><stop offset="71.43%" stop-color="#6e6a84"/><stop offset="78.57%" stop-color="#77738e"/><stop offset="85.71%" stop-color="#807b97"/><stop offset="92.86%" stop-color="#8984a1"/><stop offset="100%" stop-color="#928dab"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"steel-gray": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.122,
0.11,
0.173
],
"hex": "#1f1c2c"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.573,
0.553,
0.671
],
"hex": "#928dab"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #1f1c2c 0%, #928dab 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Steel Gray",
"contrast": {
"white": {
"ratio": 3.172,
"at": 1,
"passesAA": false,
"passesAALarge": true
},
"black": {
"ratio": 1.261,
"at": 0,
"passesAA": false,
"passesAALarge": false
},
"suggestedInk": "#ffffff"
}
}
},
"$description": "Steel Gray (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 Steel Gray gradient (#1f1c2c, #928dab), 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