Named gradient · uiGradients
Purple
Purple is a pink gradient from uiGradients (MIT) — #c84e89 → #f15f79 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.16:1 at 100% (AA-large only); black ink: worst 4.91:1 at 0% (AA) → use black text.
- Banding high: ~35px bands at 1440px — add grain 50 (≈3% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #c84e89 0%, #cb4f88 7.14%, #ce5187 14.29%, #d15286 21.43%, #d45385 28.57%, #d65484 35.71%, #d95683 42.86%, #dc5782 50%, #df5881 57.14%, #e2597f 64.29%, #e55a7e 71.43%, #e85c7d 78.57%, #eb5d7c 85.71%, #ee5e7a 92.86%, #f15f79 100%);
background-image: linear-gradient(90deg in oklab, #c84e89 0%, #f15f79 100%);
}bg-linear-to-r/oklab from-[#c84e89] to-[#f15f79]
<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="#c84e89"/><stop offset="7.14%" stop-color="#cb4f88"/><stop offset="14.29%" stop-color="#ce5187"/><stop offset="21.43%" stop-color="#d15286"/><stop offset="28.57%" stop-color="#d45385"/><stop offset="35.71%" stop-color="#d65484"/><stop offset="42.86%" stop-color="#d95683"/><stop offset="50%" stop-color="#dc5782"/><stop offset="57.14%" stop-color="#df5881"/><stop offset="64.29%" stop-color="#e2597f"/><stop offset="71.43%" stop-color="#e55a7e"/><stop offset="78.57%" stop-color="#e85c7d"/><stop offset="85.71%" stop-color="#eb5d7c"/><stop offset="92.86%" stop-color="#ee5e7a"/><stop offset="100%" stop-color="#f15f79"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"purple-ui": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.784,
0.306,
0.537
],
"hex": "#c84e89"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.945,
0.373,
0.475
],
"hex": "#f15f79"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #c84e89 0%, #f15f79 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Purple",
"contrast": {
"white": {
"ratio": 3.156,
"at": 1,
"passesAA": false,
"passesAALarge": true
},
"black": {
"ratio": 4.907,
"at": 0,
"passesAA": true,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "Purple (uiGradients, MIT), rendered in OKLab."
}
}Tagged
More pink 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 Purple gradient (#c84e89, #f15f79), 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