Electric Sunset Strip gradient

A 3-color linear CSS gradient from #E3D959 to #313895, interpolated in OKLCH so the middle stays vivid.

SunsetVibrantBluePink

Stops

HEXRGBOKLCHPosition
#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.