Electric Sunset Strip gradient
A 3-color linear CSS gradient from #E3D959 to #313895, interpolated in OKLCH so the middle stays vivid.
Stops
| HEX | RGB | OKLCH | Position |
|---|---|---|---|
| #E3D959 | rgb(227, 217, 89) | oklch(87% 0.148 104.8) | 0% |
| #AB2D70 | rgb(171, 45, 112) | oklch(51.2% 0.173 352.5) | 50% |
| #313895 | rgb(49, 56, 149) | oklch(39.5% 0.15 273.9) | 100% |
CSS
The first declaration is a plain sRGB gradient for every browser. The second interpolates in OKLCH, which keeps the middle as vivid as the ends.
background: linear-gradient(45deg, #E3D959, #AB2D70, #313895); background: linear-gradient(45deg in oklch, #E3D959, #AB2D70, #313895);
Tailwind CSS v4
bg-linear-45/oklch from-[#E3D959] via-[#AB2D70] to-[#313895]
Make it your own
Change the stops, angle and type in the Gradient Maker, or turn the stops into a palette.
Related gradients
- Wandering Horizon Linelinear-gradient(315deg, #220F8F, #B2296B, #EEE481)
- Bright Embers Fadelinear-gradient(0deg, #E7E15D, #630063, #282693)
- Zesty Last Lightlinear-gradient(120deg, #2B2B7C, #C43B80, #D9D700)
- Vivid Last Lightlinear-gradient(200deg, #272C80, #681C6B, #DAE643)
- Electric Dusk Roadlinear-gradient(225deg, #2D338F, #C1538F, #F7EE55)
- Little Afterglowlinear-gradient(0deg, #F4E980, #BA53B2, #302583)
- Blazing Lavenderlinear-gradient(0deg, #89A4F1, #930C70)
- Bright Dusk Roadlinear-gradient(270deg, #F2F04D, #C92F7D, #381E9B)