niceui

Lilac Haze Color Palette

Soft, airy pastels for friendly apps, onboarding screens and illustrations. Copy any hex code, or grab the whole palette as CSS variables or a Tailwind config.

Open in generator

Color codes

ColourHEXRGBHSLOKLCH

Contrast

WCAG contrast for the strongest pairs. AA needs 4.5:1 for body text.

Aa#9a7fc2 on #f8f4ff3.13:1 · AA large
Aa#9a7fc2 on #e7dcf52.58:1 · Fail
Aa#b8a0d9 on #f8f4ff2.14:1 · Fail
Aa#9a7fc2 on #d4c1ec2.04:1 · Fail

CSS variables

:root {
  --lilac-haze-1: #f8f4ff;
  --lilac-haze-2: #e7dcf5;
  --lilac-haze-3: #d4c1ec;
  --lilac-haze-4: #b8a0d9;
  --lilac-haze-5: #9a7fc2;
}

Tailwind CSS

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'lilac-haze': {
          100: '#f8f4ff',
          200: '#e7dcf5',
          300: '#d4c1ec',
          400: '#b8a0d9',
          500: '#9a7fc2',
        },
      },
    },
  },
};
Edit this palette in the Palette GeneratorSpace to generate, lock colours, colours from an image, Tailwind 50–950 scales, contrast checks and CSS, Tailwind or shadcn export.

FAQ

What colors are in the Lilac Haze palette?

Lilac Haze uses #f8f4ff, #e7dcf5, #d4c1ec, #b8a0d9, #9a7fc2.

Which colors in Lilac Haze work for text?

The strongest pair is #f8f4ff and #9a7fc2 with a contrast ratio of 3.13:1 (AA large).

Similar palettes

More: Pastel color palettesCool color palettesAll palettes