Electric Aubergine gradient

A 2-color linear CSS gradient from #380020 to #8A63FF, interpolated in OKLCH so the middle stays vivid.

NeonTwo-tonePurple

Stops

HEXRGBOKLCHPosition
#380020 rgb(56, 0, 32) oklch(22.4% 0.093 351.8) 0%
#8A63FF rgb(138, 99, 255) oklch(62.1% 0.221 290) 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(160deg, #380020, #8A63FF);
background: linear-gradient(160deg in oklch, #380020, #8A63FF);

Tailwind CSS v4

bg-linear-160/oklch from-[#380020] to-[#8A63FF]

Make it your own

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