Skip to content
Musterli

Pastel

Lavender Field gradient

From pale lilac to deeper lavender, calm and elegant.

Customize in the editor

Change angle, shape and colors, then export as CSS, SVG or PNG.

Colors

The color stops of the gradient. Click a value to copy it.

  1. Color 1

    Text in black, contrast 16.9:1

  2. Color 2

    Text in black, contrast 10.6:1

Code

Paste the lines into your element's rule. The first line is a fallback color, the second the gradient for every browser, the third interpolates in OKLCH for modern browsers.

CSS

background-color: #ebe3ff;
background-image: linear-gradient(180deg, #ebe3ff 0%, #eae1fe 11.11%, #e6ddfc 22.22%, #dfd6fa 33.33%, #d8cef6 44.44%, #cfc6f3 55.56%, #c7beef 66.67%, #c1b8ec 77.78%, #bcb3eb 88.89%, #bbb2ea 100%);
background-image: linear-gradient(180deg in oklch, #ebe3ff 0%, #eae1fe 11.11%, #e6ddfc 22.22%, #dfd6fa 33.33%, #d8cef6 44.44%, #cfc6f3 55.56%, #c7beef 66.67%, #c1b8ec 77.78%, #bcb3eb 88.89%, #bbb2ea 100%);

Tailwind

bg-[#ebe3ff] bg-[linear-gradient(180deg,_#ebe3ff_0%,_#eae1fe_11.11%,_#e6ddfc_22.22%,_#dfd6fa_33.33%,_#d8cef6_44.44%,_#cfc6f3_55.56%,_#c7beef_66.67%,_#c1b8ec_77.78%,_#bcb3eb_88.89%,_#bbb2ea_100%)]

Take the gradient further

The same colors in other generators. Each card opens the editor with these colors.

Keep working with the colors

Turn the color stops into a palette or a full color scale.

How to use this gradient

Copy the CSS into the rule of the element that should carry the gradient, for example a section, a card or a button. For text on top, pick a text color with enough contrast on every color stop; the values next to the colors help you with that. In the editor you change angle, shape and easing and can also export the gradient as an image.

All gradients
  • Morning Dew

    A hint of green and a hint of blue, barely there and very fresh.

  • Macaron

    Pink, vanilla and pistachio side by side, like in a pastry shop.

  • Soap Bubble

    A conic blend of shimmering pastels that closes into a full circle.

  • Candy Floss

    Soft pink and lilac blue, playful and gentle.

  • Kingfisher

    Bright blue with an orange accent, like the bird's plumage.