This midnight to lavender to coral linear gradient is an editable CSS color system generated with OKLCH-aware perceptual interpolation, multi-stop fallback compilation, and Tailwind CSS utility export. It preserves chroma during transitions, reducing muddy gray midpoints while giving developers production-ready CSS and designers precise visual control.

SEO gradient page

midnight to lavender to coral linear CSS gradient

Edit this gradient in the studio, copy production CSS, compare accessibility, and explore related color combinations generated from the same seed colors.

#370252#cc95e1#e68a71

Gradient guide

How to use this midnight to lavender to coral gradient

This linear gradient can be used as a hero background, dashboard card treatment, app shell backdrop, social visual, or landing page accent. The color sequence is parsed directly from the URL, which means the page can be shared, indexed, and revisited.

The export system creates a standard CSS fallback, a perceptual multi-stop fallback, and a modern OKLCH declaration where appropriate. That makes the output useful for production interfaces, not just screenshots or static inspiration boards.

Use the related-gradient matrix below to explore adjacent hues, lightness shifts, and route variations. Each link is generated deterministically so search crawlers and users always see stable, crawlable internal links.

Interactive editor

Edit this gradient

Physics Preview Workspace

Perceptual CSS gradients without muddy midpoints.

Build layered linear, radial, conic, and mesh gradients using OKLCH, LAB, HCL, easing curves, blend modes, and fallback compilers.

White text

7.05:1

WCAG AA friendly

Black text

6.16:1

WCAG AA friendly

Pre-rendered CSS output

.css-gradient-pro-gradient {
  background: linear-gradient(135deg, #370252 0%, #cc95e1 50%, #e68a71 100%);
  background: linear-gradient(135deg, #370252 0%, #390454 4.5%, #400c5c 9.1%, #4d1969 13.6%, #5e2a7c 18.2%, #743d91 22.7%, #8c54a8 27.3%, #a26abc 31.8%, #b57ccc 36.4%, #c28ad8 40.9%, #ca92df 45.5%, #cc95e1 50%, #cd94e0 54.5%, #d292dc 59.1%, #d88ed4 63.6%, #e189c8 68.2%, #e985b6 72.7%, #ee83a2 77.3%, #ee848f 81.8%, #ec8681 86.4%, #e98877 90.9%, #e78a72 95.5%, #e68a71 100%);
  background: linear-gradient(135deg in oklch, oklch(26.23% 0.1296 309.44) 0%, oklch(74.89% 0.1214 316.39) 50%, oklch(72.49% 0.1187 36.03) 100%);
  background-blend-mode: normal;
}

Full-width inspiration gallery

120 mathematically tuned gradient collections.

Each preset links to an indexable dynamic route with deterministic related gradients, metadata, crawlable anchors, and editable OKLCH controls.