Lilac color code is #C8A2C8. Use this page to get all code formats, explore shades and tints, and find colors that work with lilac.
Relative luminance of Lilac is 0.4229. Its WCAG contrast ratio is 2.22:1 against white and 9.46:1 against black. Use the card with the higher ratio for body text.
Practical guidance for using lilac (#C8A2C8) across four design contexts, derived from its hue, lightness, saturation, and WCAG contrast.
Lilac (#C8A2C8) works well as a background color in dark UIs or as a button fill paired with white text — at 9.5:1 against black it's AAA-accessible for body text reversed onto it. Don't use it for text on a white background; 2.2:1 contrast won't pass AA.
As a brand color, Lilac (#C8A2C8) reads as considered and grown-up and approachable and modern. It fits naturally into fashion, beauty, music, youthful events. Pair it with a single bold accent so it doesn't read as too quiet. Test legibility on both your logo and small UI text before locking it in — saturation that works on a 200px logo can feel overpowering at favicon scale.
Lilac flatters cool-leaning skin tones (pink, rosy, blue undertones) and works best in autumn/winter collections. Pair it with cool neutrals (charcoal, slate, off-white, black) and it works as a sophisticated alternative to navy. Pale cool tones flatter most skin types in good light — a safe choice for office wear and weddings.
Lilac is an excellent wall, ceiling, or large-surface color — its low saturation reads as calm and timeless without dating the room. Pairs well with warm wood, brushed brass, and natural fibers (linen, jute, wool). Avoid using it as a single accent against louder colors; it works best as the dominant "envelope" of a room, with one or two saturated accent pieces.