Ultraviolet CSS Gradient — Copy the Code

Blacklight purple into radiant violet, kept luminous by an OKLCH blend. Copy the Ultraviolet gradient as CSS, a custom property, or a Tailwind theme block, and check its text contrast.

Ultraviolet CSS

background: linear-gradient(115deg in oklch, rgba(46, 0, 62, 1) 0%, rgba(106, 13, 173, 1) 55%, rgba(180, 92, 255, 1) 100%);

Color stops

  • #2E003E at 0% (100% opacity)
  • #6A0DAD at 55% (100% opacity)
  • #B45CFF at 100% (100% opacity)

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