Mellow Midnight Sun gradient
A 3-color linear CSS gradient from #F993EF to #001713, interpolated in OKLCH so the middle stays vivid.
Stops
| HEX | RGB | OKLCH | Position |
|---|---|---|---|
| #F993EF | rgb(249, 147, 239) | oklch(80% 0.166 330.6) | 0% |
| #4D599D | rgb(77, 89, 157) | oklch(48.7% 0.11 274.1) | 50% |
| #001713 | rgb(0, 23, 19) | oklch(18.3% 0.033 180.5) | 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(200deg, #F993EF, #4D599D, #001713); background: linear-gradient(200deg in oklch, #F993EF, #4D599D, #001713);
Tailwind CSS v4
bg-linear-200/oklch from-[#F993EF] via-[#4D599D] to-[#001713]
Make it your own
Change the stops, angle and type in the Gradient Maker, or turn the stops into a palette.
Related gradients
- Faded Arctic Veillinear-gradient(225deg, #F597EB, #0076A9, #002623)
- Distant Starfalllinear-gradient(90deg, #000D0B, #006B9D, #32002E)
- Painted Polar Nightlinear-gradient(315deg, #250023, #00759E, #00211B)
- Velvet Borealislinear-gradient(120deg, #001C1A, #008AC3, #2F2E9A, #310032)
- Wandering Horizon Linelinear-gradient(315deg, #220F8F, #B2296B, #EEE481)
- Bright Embers Fadelinear-gradient(0deg, #E7E15D, #630063, #282693)
- Soft Amethystlinear-gradient(45deg, #002522, #78ADFF, #E223CF)
- Silken Heatherlinear-gradient(90deg, #8FD3FF, #EFCFEA, #FFEAEC)