Named gradient · uiGradients
By Design
By Design is a blue gradient from uiGradients (MIT) — #009fff → #ec2f4b 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 2.83:1 at 1% (fails AA); black ink: worst 5.06:1 at 100% (AA) → use black text.
- Banding medium: ~6px bands at 1440px — add grain 11 (≈1% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #009fff 0%, #429bf3 7.14%, #5e97e6 14.29%, #7293da 21.43%, #828ece 28.57%, #9189c2 35.71%, #9e83b5 42.86%, #aa7da9 50%, #b5769d 57.14%, #bf6f90 64.29%, #c96683 71.43%, #d25d76 78.57%, #db5169 85.71%, #e4435a 92.86%, #ec2f4b 100%);
background-image: linear-gradient(90deg in oklab, #009fff 0%, #ec2f4b 100%);
}bg-linear-to-r/oklab from-[#009fff] to-[#ec2f4b]
<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="#009fff"/><stop offset="7.14%" stop-color="#429bf3"/><stop offset="14.29%" stop-color="#5e97e6"/><stop offset="21.43%" stop-color="#7293da"/><stop offset="28.57%" stop-color="#828ece"/><stop offset="35.71%" stop-color="#9189c2"/><stop offset="42.86%" stop-color="#9e83b5"/><stop offset="50%" stop-color="#aa7da9"/><stop offset="57.14%" stop-color="#b5769d"/><stop offset="64.29%" stop-color="#bf6f90"/><stop offset="71.43%" stop-color="#c96683"/><stop offset="78.57%" stop-color="#d25d76"/><stop offset="85.71%" stop-color="#db5169"/><stop offset="92.86%" stop-color="#e4435a"/><stop offset="100%" stop-color="#ec2f4b"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"by-design": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0,
0.624,
1
],
"hex": "#009fff"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.925,
0.184,
0.294
],
"hex": "#ec2f4b"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #009fff 0%, #ec2f4b 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "By Design",
"contrast": {
"white": {
"ratio": 2.831,
"at": 0.0087,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 5.06,
"at": 0.9956,
"passesAA": true,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "By Design (uiGradients, MIT), rendered in OKLab."
}
}Tagged
More blue 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 By Design gradient (#009fff, #ec2f4b), 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