Lilac Color Palette
Lilac is hex #C8A2C8, rgb(200, 162, 200). Lilac is a light pinkish purple, warmer and more saturated than lavender. It feels nostalgic, romantic and springlike.
By Mohamed Farhan · Updated Oct 19, 2026
Lilac color codes
Reading the lilac color codes
The hex code #C8A2C8 is three pairs of base-16 numbers for red, green and blue. C8 is 200, A2 is 162 and C8 is 200, each on a scale from 0 to 255. That is why the same color is written rgb(200, 162, 200) in CSS. The red channel is the strongest here, which is what gives lilac its magenta character.
HSL describes the same color the way people think about it. A hue of 300 degrees places lilac in the magenta part of the color wheel. Saturation of 26% makes it muted, and lightness of 71% makes it a light color. HSL is the easiest format to adjust by hand: keep the hue, then raise or lower lightness to create tints and shades that stay in the same family.
For print, the approximate CMYK mix is 0% cyan, 19% magenta, 0% yellow and 22% black. Screen and print colors never match perfectly, because monitors emit light while ink absorbs it, so always proof a printed sample before committing to lilac for packaging or stationery. See MDN's guide to CSS color values for every format browsers accept.
Lilac shades and tints
A full 50 to 950 scale built around #C8A2C8, so you can use lilac for backgrounds, borders, buttons and text without leaving the family. Click any shade to copy it.
// tailwind.config.js
theme: {
extend: {
colors: {
"lilac": {
50: "#F2E9F2",
100: "#E8D8E8",
200: "#DDC6DD",
300: "#D3B4D3",
400: "#C8A2C8",
500: "#B08EB0",
600: "#987A98",
700: "#816681",
800: "#695369",
900: "#513F51",
950: "#392B39",
},
},
},
}:root {
--lilac-50: #F2E9F2;
--lilac-100: #E8D8E8;
--lilac-200: #DDC6DD;
--lilac-300: #D3B4D3;
--lilac-400: #C8A2C8;
--lilac-500: #B08EB0;
--lilac-600: #987A98;
--lilac-700: #816681;
--lilac-800: #695369;
--lilac-900: #513F51;
--lilac-950: #392B39;
}A shade-by-shade guide to lilac
The 50 to 950 scale above follows the same structure as Tailwind's built-in palettes, so each step has a natural job. The lightest steps, 50 (#F2E9F2) and 100 (#E8D8E8), are page and card backgrounds: they carry the lilac mood without competing with content. Steps 200 (#DDC6DD) and 300 (#D3B4D3) suit borders, dividers, hover states and selected rows.
The middle of the scale, 400 to 600, is where lilac is most recognizable, so use it for brand moments, illustrations and primary buttons. White text reaches the 4.5:1 body-text contrast minimum from step 700 upward, so use step 700 or darker when a button label needs to be white. Near-black text stays readable on steps 50 to 600.
The darkest steps, 800 (#695369) through 950 (#392B39), make headings, body text and dark-mode surfaces that stay clearly related to lilac. Using step 900 or 950 for text instead of pure black is one of the simplest ways to make an interface feel designed rather than default.
Colors that go with lilac
How the lilac color combinations work
Complementary. Directly across the color wheel from lilac is #A2C8A2, which sits closest to sage green among common named colors. Complementary pairs create the strongest contrast of hue, so use the second color sparingly, for a single call to action or highlight, rather than in equal amounts.
Analogous. #B5A2C8 and #C8A2B5 sit 30 degrees either side of lilac. Analogous palettes feel calm and cohesive because the colors share undertones; they are ideal for illustrations, gradients and backgrounds where you want harmony more than contrast.
Triadic and split complementary. The triadic set (#C8C8A2 and #A2C8C8) is evenly spaced around the wheel and feels playful; the second color is closest to khaki. The split complementary set (#B5C8A2 and #A2C8B5) keeps much of the complementary contrast but is easier to balance, which makes it a good choice for data visualization and multi-category tags.
Monochromatic. The monochromatic set runs from #F0E5F0 to #8A518A. A single-hue palette is the safest way to build a calm, premium interface: rely on lightness for hierarchy, then add one neutral and one accent if you need emphasis.
Lilac compared with similar colors
silver (#C0C0C0) is lighter (75% vs 71% lightness) and more muted, and leans back the wheel toward red. Choose silver if you want a softer, airier version; choose lilac if you want a quieter, more natural tone.
dusty rose (#DCAE96) is about as light and more saturated, and leans back the wheel toward orange. Choose dusty rose if you want a softer, airier version; choose lilac if you want a quieter, more natural tone.
khaki (#C3B091) is darker (67% vs 71% lightness) and similarly saturated, and leans back the wheel toward orange. Choose khaki if you need more weight and contrast; choose lilac if you want a quieter, more natural tone.
Lilac in a real interface
Swatches only tell half the story. Here lilac carries the primary action, with tints from its own scale for the surface and panels.
Weekly summary
Revenue grew 12% this week. Three invoices are waiting for approval.
Using lilac in UI: buttons, text, backgrounds and dark mode
- Buttons. White labels on lilac only reach 2.22:1, so use dark text (9.46:1 with black) or a deeper shade for the button.
- Text. Avoid lilac for body text on white; use step 700 or darker for links and headings that need to read as lilac.
- Backgrounds. Use steps 50 and 100 for large areas and keep the base color for smaller surfaces. Big blocks of a muted light color draw attention, so give them a reason, like a hero section or pricing highlight.
- Dark mode. Steps 900 and 950 make a dark surface tinted with lilac. On dark backgrounds the base color often needs a lighter step (300 or 400) to keep enough contrast for icons and borders, as required by WCAG non-text contrast.
- States. Shift one step darker for hover and two steps darker for pressed. Keep focus rings in a contrasting color so keyboard users can always see them.
Contrast and accessibility
AA needs 4.5:1 for body text and 3:1 for large text. AAA needs 7:1.
Color contrast is measured as a ratio from 1:1 (no contrast) to 21:1 (black on white). Lilac scores 2.22:1 against white (Fail) and 9.46:1 against black (AAA). The WCAG 2.1 contrast guideline asks for at least 4.5:1 for normal text and 3:1 for large text, which is why the shade guide above recommends specific steps for text and labels.
Contrast is only half of accessibility. Around 1 in 12 men and 1 in 200 women have some form of color vision deficiency, so never use lilac alone to signal meaning such as success, error or selection. Pair it with an icon, a label or a change in weight.
What lilac means
Purple carries creativity, imagination and a touch of luxury. Light purples feel soft and calming; deep purples feel rich and mysterious.
Lilac is named after the lilac flower, which blooms in spring. It has long symbolized first love and nostalgia and is popular in spring fashion and wedding design.
Purple is heavily used by AI and creative tools, so it can look generic. Desaturate it or pair it with warm neutrals to make it feel chosen rather than default.
Where lilac works best
- Spring fashion
- Florists and weddings
- Stationery
- Beauty packaging
How to style lilac
Lilac pairs with sage, cream, soft yellow and deep plum. It needs dark text. In UI it makes a gentle accent for highlights and illustration, paired with a deep purple or charcoal for actions.
Build a UI with lilac
Inspo AI generates a full React + Tailwind screen using #C8A2C8 as the brand color, grounded in real shipped designs.
Sources and further reading
- Wikipedia: Lilac · History and definition of lilac.
- WCAG 2.1: Contrast (Minimum) · The W3C rule behind the 4.5:1 and 3:1 thresholds used on this page.
- WCAG 2.1: Use of Color · Why color should never be the only way information is shown.
- MDN: CSS color values · Reference for hex, rgb() and hsl() syntax.
- Tailwind CSS: Customizing colors · How to add a custom color scale to your theme.
Similar colors
Questions people ask
What is the hex code for lilac?
The hex code for lilac used on this page is #C8A2C8. In RGB that is rgb(200, 162, 200), and in HSL it is hsl(300, 26%, 71%).
What colors go well with lilac?
Lilac pairs well with #F2E6F2, #FFFFFF, #6B4E71 (the Spring Bloom palette above). Its complementary color is #A2C8A2, and analogous colors are #B5A2C8 and #C8A2B5.
Is lilac a warm or cool color?
Lilac is a cool color. Its hue sits at 300 degrees on the color wheel with 26% saturation.
Can I use lilac for text?
Lilac has a contrast ratio of 2.22:1 against white and 9.46:1 against black. Body text needs at least 4.5:1, so it works as a background behind dark text, but not as text on white.
What does lilac mean?
Purple carries creativity, imagination and a touch of luxury. Light purples feel soft and calming; deep purples feel rich and mysterious. Lilac in particular is used for spring fashion and florists and weddings.
How do I use lilac in Tailwind CSS?
Use an arbitrary value like bg-[#C8A2C8] for a one-off, or add the 50-950 scale from this page to theme.extend.colors in tailwind.config.js and use classes like bg-lilac-500 and text-lilac-900.

↘ Building Inspo AI | AI-Powered Design Research & Builder Platform | Design Engineer.