Bright Dusk Road gradient

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

SunsetVibrantPurplePink

Stops

HEXRGBOKLCHPosition
#F2F04D rgb(242, 240, 77) oklch(92.9% 0.176 108.7) 0%
#C92F7D rgb(201, 47, 125) oklch(56.9% 0.2 354.9) 50%
#381E9B rgb(56, 30, 155) oklch(36.7% 0.185 281.7) 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(270deg, #F2F04D, #C92F7D, #381E9B);
background: linear-gradient(270deg in oklch, #F2F04D, #C92F7D, #381E9B);

Tailwind CSS v4

bg-linear-270/oklch from-[#F2F04D] via-[#C92F7D] to-[#381E9B]

Make it your own

Change the stops, angle and type in the Gradient Maker, or turn the stops into a palette.