niceui

Lavender Gradient

A free linear gradient you can copy as CSS or Tailwind. Soft, airy pastel gradients for backgrounds, cards and onboarding screens.

CSS

.lavender-bg {
  background: linear-gradient(135deg, #e9d5ff 0%, #c4b5fd 100%);
}

Tailwind CSS

With Tailwind's gradient utilities:

bg-gradient-to-br from-[#e9d5ff] to-[#c4b5fd]

Or the exact gradient as an arbitrary value:

bg-[image:linear-gradient(135deg,#e9d5ff_0%,#c4b5fd_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 lavender gradient in CSS?

Set background: linear-gradient(135deg, #e9d5ff 0%, #c4b5fd 100%); on any element. It works in every modern browser.

How do I use the lavender gradient in Tailwind?

Use bg-gradient-to-br from-[#e9d5ff] to-[#c4b5fd], or the exact arbitrary value bg-[image:linear-gradient(135deg,#e9d5ff_0%,#c4b5fd_100%)].

Similar gradients

More: Pastel gradientsPurple gradientsAll gradients