Easy Aubergine gradient

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

Two-tonePurplePink

Stops

HEXRGBOKLCHPosition
#141344 rgb(20, 19, 68) oklch(22.5% 0.089 277.4) 0%
#FF98C1 rgb(255, 152, 193) oklch(79.8% 0.132 355.1) 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(135deg, #141344, #FF98C1);
background: linear-gradient(135deg in oklch, #141344, #FF98C1);

Tailwind CSS v4

bg-linear-135/oklch from-[#141344] to-[#FF98C1]

Make it your own

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