niceui

Ultraviolet Gradient

A free linear gradient you can copy as CSS or Tailwind. Lavender, violet and indigo gradients for creative and AI products.

CSS

.ultraviolet-bg {
  background: linear-gradient(145deg, #1e1b4b 0%, #4c1d95 55%, #a855f7 100%);
}

Tailwind CSS

bg-[image:linear-gradient(145deg,#1e1b4b_0%,#4c1d95_55%,#a855f7_100%)]
Edit this gradient in the Gradient MakerMesh, conic and animated shader gradients, grain, PNG export and one-click CSS, Tailwind, React or HTML.

FAQ

How do I use the ultraviolet gradient in CSS?

Set background: linear-gradient(145deg, #1e1b4b 0%, #4c1d95 55%, #a855f7 100%); on any element. It works in every modern browser.

How do I use the ultraviolet gradient in Tailwind?

Use the arbitrary value class bg-[image:linear-gradient(145deg,#1e1b4b_0%,#4c1d95_55%,#a855f7_100%)].

Similar gradients

More: Purple gradientsDark gradientsAll gradients