Named gradient · uiGradients
Electric Violet
Electric Violet is a blue gradient from uiGradients (MIT) — #4776e6 → #8e54e9 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 4.19:1 at 2% (AA-large only); black ink: worst 4.58:1 at 99% (AA) → use black text.
- Banding high: ~20px bands at 1440px — add grain 40 (≈3% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #4776e6 0%, #4f74e6 7.14%, #5572e6 14.29%, #5c70e7 21.43%, #616ee7 28.57%, #676ce7 35.71%, #6c69e7 42.86%, #7167e8 50%, #7565e8 57.14%, #7a62e8 64.29%, #7e5fe8 71.43%, #825de8 78.57%, #865ae9 85.71%, #8a57e9 92.86%, #8e54e9 100%);
background-image: linear-gradient(90deg in oklab, #4776e6 0%, #8e54e9 100%);
}bg-linear-to-r/oklab from-[#4776e6] to-[#8e54e9]
<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="#4776e6"/><stop offset="7.14%" stop-color="#4f74e6"/><stop offset="14.29%" stop-color="#5572e6"/><stop offset="21.43%" stop-color="#5c70e7"/><stop offset="28.57%" stop-color="#616ee7"/><stop offset="35.71%" stop-color="#676ce7"/><stop offset="42.86%" stop-color="#6c69e7"/><stop offset="50%" stop-color="#7167e8"/><stop offset="57.14%" stop-color="#7565e8"/><stop offset="64.29%" stop-color="#7a62e8"/><stop offset="71.43%" stop-color="#7e5fe8"/><stop offset="78.57%" stop-color="#825de8"/><stop offset="85.71%" stop-color="#865ae9"/><stop offset="92.86%" stop-color="#8a57e9"/><stop offset="100%" stop-color="#8e54e9"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"electric-violet": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.278,
0.463,
0.902
],
"hex": "#4776e6"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.557,
0.329,
0.914
],
"hex": "#8e54e9"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #4776e6 0%, #8e54e9 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Electric Violet",
"contrast": {
"white": {
"ratio": 4.186,
"at": 0.0159,
"passesAA": false,
"passesAALarge": true
},
"black": {
"ratio": 4.577,
"at": 0.9904,
"passesAA": true,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "Electric Violet (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 Electric Violet gradient (#4776e6, #8e54e9), 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