Lilac color: hex codes, shades and palettes
Palettes built around lilac. Click any swatch to copy its hex code.
Lilac is #C8A2C8 — light muted purple. Below are its shades with hex codes, the values in every common format, and lilac color palettes to copy.
No lilac palettes yet
Run npm run generate to build the dataset.
Lilac hex, RGB, HSL and OKLCH
- HEX
#C8A2C8- RGB
rgb(200, 162, 200)- HSL
hsl(300, 26%, 71%)- OKLCH
oklch(75.9% 0.068 326.2)- On white
- 2.22:1
- On black
- 9.46:1
Shades of lilac
Eleven steps from one base color, generated in OKLCH so each step is an equal perceived step rather than an equal numeric one. Click a swatch to copy it.
Contrast and readability
Lilac on white measures 2.22:1 and on black 9.46:1. WCAG AA asks for 4.5:1 on normal text and 3:1 on large text and UI components, so the higher of those two decides which background it belongs on. In the scale above, 500 is the first to clear 4.5:1 on white, at 5.43:1.
The contrast checker reports every level for a given pair and suggests the nearest passing shade on the same hue. The color picker builds this same scale from any color you paste in.
Related colors:purple, lavender, violet, plum, indigo, eggplant. See every shade on the colors index.