Home /Colors /Lilac
Lilac#C8A2C8

Lilac color code is #C8A2C8. Use this page to get all code formats, explore shades and tints, and find colors that work with lilac.

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore Lilac

Lilac Accessibility & WCAG Contrast

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.

The quick brown fox
Lilac on white2.22:1Fail
The quick brown fox
Lilac on black9.46:1AAA
The quick brown fox
White on Lilac2.22:1Fail
The quick brown fox
Black on Lilac9.46:1AAA

Lilac — Frequently Asked Questions

What is the hex code for Lilac?+
The hex code for Lilac is #C8A2C8. In RGB it's rgb(200, 162, 200), and in HSL it's hsl(300, 26%, 71%).
What is the RGB value of Lilac?+
Lilac in RGB is (200, 162, 200). Written in CSS: rgb(200, 162, 200).
What is the CMYK value of Lilac?+
Lilac converts to CMYK(0%, 19%, 0%, 22%) for print. Hex equivalent is #C8A2C8.
Is lilac a warm or cool color?+
Lilac (#C8A2C8) is a transitional magenta — its hue sits at 300° on the color wheel, placing it in the transitional part of the spectrum.
What color family does lilac belong to?+
Lilac belongs to the magenta family. Its HSL is 300°, 26%, 71% — a transitional tone within the broader magenta group.
Is lilac accessible for body text on a white background?+
Lilac on white reaches a WCAG contrast ratio of 2.22:1 — below the AA threshold (4.5:1) for normal body text. Reserve for large headings or pair with a darker variant.
What is the closest Pantone match for lilac?+
The nearest Pantone match for Lilac (#C8A2C8) is 14-3612 Lilac, calculated by Euclidean RGB distance over the Pantone Matching System.

How to use Lilac in design

Practical guidance for using lilac (#C8A2C8) across four design contexts, derived from its hue, lightness, saturation, and WCAG contrast.

Web & UI design

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.

Branding & identity

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.

Fashion & apparel

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.

Interior design

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.