Purple Haze CSS Gradient — Copy the Code

Smoky violet dissolving into dusty pink, blended in OKLCH so the haze never goes muddy. Copy the Purple Haze gradient as CSS, a custom property, or a Tailwind theme block, and check its text contrast.

Purple Haze CSS

background: linear-gradient(115deg in oklch, rgba(101, 78, 163, 1) 0%, rgba(234, 175, 200, 1) 100%);

Color stops

  • #654EA3 at 0% (100% opacity)
  • #EAAFC8 at 100% (100% opacity)

Edit this gradient · Browse all gradients · Check text over gradients