Midnight Grape Soda gradient
A 3-color linear CSS gradient from #844D6E to #1D0057, interpolated in OKLCH so the middle stays vivid.
Stops
| HEX | RGB | OKLCH | Position |
|---|---|---|---|
| #844D6E | rgb(132, 77, 110) | oklch(49.5% 0.086 343.9) | 0% |
| #5F2A75 | rgb(95, 42, 117) | oklch(39.3% 0.13 314.7) | 50% |
| #1D0057 | rgb(29, 0, 87) | oklch(23% 0.134 284.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(160deg, #844D6E, #5F2A75, #1D0057); background: linear-gradient(160deg in oklch, #844D6E, #5F2A75, #1D0057);
Tailwind CSS v4
bg-linear-160/oklch from-[#844D6E] via-[#5F2A75] to-[#1D0057]
Make it your own
Change the stops, angle and type in the Gradient Maker, or turn the stops into a palette.
Related gradients
- Velvet Borealislinear-gradient(120deg, #001C1A, #008AC3, #2F2E9A, #310032)
- Evening Amethystlinear-gradient(225deg, #001249, #5F2169, #8F4244)
- Deep Blushlinear-gradient(200deg, #000F1D, #391358, #7D1C3A)
- Shadow Amethystlinear-gradient(200deg, #5C4398, #4F044D, #1C0007)
- Obsidian Orchidlinear-gradient(270deg, #00091E, #2B1D67, #6F3789)
- Summer Cornflowerlinear-gradient(120deg, #14012A, #092D40, #37695B)
- Dim Candyflosslinear-gradient(225deg, #001A25, #41365A, #8B2B46)
- Obsidian Candyflosslinear-gradient(0deg, #120022, #855450)