Lilac Hex Code — #C8A2C8

RGB, HSL, and CMYK values for Lilac.

Last updated: April 6, 2026

Lilac Color Values

FormatValue
HEX#C8A2C8
RGBrgb(200, 162, 200)
HSLhsl(300, 26%, 71%)
CMYKcmyk(0%, 19%, 0%, 22%)
Want to explore more shades? Use our Color Converter

About Lilac

Color psychology: Youthfulness, innocence.

Lilac (#C8A2C8) is a light shade of purple with a hue angle of 300° on the color wheel, 26% saturation, and 71% lightness. It's commonly used in web design, graphic design, and branding where youthfulness, innocence are desired associations.

In color theory, Lilac sits in the cool section of the spectrum. Its low saturation creates a muted, understated tone — great for backgrounds, borders, and subtle UI elements.

When to Use Lilac in Design

Web Design

Use Lilac as a background color with dark text overlay. Light colors like this create open, airy layouts that reduce visual fatigue for content-heavy pages.

Branding & Logo

Lilac conveys youthfulness, innocence — consider it for brands that want to project these qualities. Test it at small sizes (favicon, social avatar) to ensure it remains recognizable.

Print Design

Use the CMYK values (C:0% M:19% Y:0% K:22%) for accurate print reproduction in brochures, business cards, and packaging. Request a physical proof — screen colors often appear more vibrant than their printed equivalents.

UI / UX Design

Light colors like Lilac work well for card backgrounds, section dividers, and hover states. Pair with a darker variant for active/selected states.

How to Use Lilac in CSS

/* Using HEX */
color: #C8A2C8;
background-color: #C8A2C8;

/* Using RGB */
color: rgb(200, 162, 200);

/* Using HSL — best for creating variations */
color: hsl(300, 26%, 71%);

/* Transparent overlay (50% opacity) */
background-color: rgba(200, 162, 200, 0.5);

/* Lighter variant for hover states */
background-color: hsl(300, 26%, 81%);

/* Darker variant for active states */
background-color: hsl(300, 26%, 61%);

HSL is the most flexible format for creating color systems. By adjusting the lightness value, you can generate an entire shade scale from Lilac without changing its core hue or saturation.

Colors That Go With Lilac

Complementary

Analogous

Triadic

Similar Shades of Purple

Frequently Asked Questions

What is the hex code for Lilac?
The hex color code for Lilac is #C8A2C8. In CSS, apply it as text color with color: #C8A2C8;, as a background with background-color: #C8A2C8;, or as a border with border-color: #C8A2C8;. Hex is the most widely used color notation on the web because it is compact, supported by every browser, and easy to copy between design tools like Figma, Photoshop, and code editors.
What is Lilac in RGB and when should I use RGB?
Lilac in RGB is rgb(200, 162, 200), where Red=200, Green=162, and Blue=200 on a 0-255 scale. Use RGB when you need transparency — rgba(200, 162, 200, 0.5) creates a 50% transparent version. RGB is also the native format for HTML canvas, WebGL, and JavaScript image manipulation, since each channel represents the intensity of that primary light color on screen displays.
How to use Lilac in CSS with different color formats?
Lilac can be applied in CSS using multiple formats: (1) Hex: color: #C8A2C8; — most compact and widely used. (2) RGB: color: rgb(200, 162, 200); — useful when calculating colors dynamically in JavaScript. (3) HSL: color: hsl(300, 26%, 71%); — best for creating variations, since adjusting lightness produces lighter or darker shades while keeping the same hue. (4) With transparency: rgba(200, 162, 200, 0.8); or hsla(300, 26%, 71%, 0.8); for 80% opacity overlays.
What is the HSL value of Lilac and why is HSL useful for designers?
Lilac in HSL is hsl(300, 26%, 71%). HSL stands for Hue (300 degrees on the color wheel), Saturation (26% color intensity), and Lightness (71% brightness). HSL is the most intuitive format for designers because you can create harmonious palettes by rotating the hue, generate hover effects by increasing lightness by 10%, and desaturate colors by reducing the S value. This makes Lilac a light, muted cool-toned color.
What is the CMYK value of Lilac for print design?
Lilac in CMYK is C:0% M:19% Y:0% K:22%. CMYK (Cyan, Magenta, Yellow, Key/Black) is the standard color model for professional printing — business cards, brochures, merchandise, and packaging. When designing for print in Adobe InDesign or Illustrator, use these exact CMYK values to ensure accurate color reproduction. Screen colors (RGB) often appear more vibrant than their printed CMYK equivalents, so always request a physical proof for brand-critical materials.
What colors pair well with Lilac in design projects?
Purple pairs elegantly with gold, silver, and soft pinks. Dark purple with white creates a premium feel. In tech branding, purple signals creativity and innovation.
Is Lilac (#C8A2C8) accessible for web design and WCAG compliant?
Most medium purples fail WCAG contrast requirements on white. Use dark purple (#4A148C or darker) for text, and reserve lighter purples for decorative or background elements only. For Lilac specifically: as a light shade (lightness: 71%), it works best as a background color with dark text overlaid, or as a decorative accent. Avoid using it as text color on white backgrounds since the contrast ratio is likely insufficient. WCAG 2.1 requires a minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text (18px+ bold or 24px+ regular).

Was this page helpful?

Written by

Tamanna Tasnim

Senior Full Stack Developer

ToolsContainerDhaka, Bangladesh5+ years experiencetasnim@toolscontainer.comwww.toolscontainer.com

Full-stack developer with deep expertise in data formats, APIs, and developer tooling. Writes in-depth technical comparisons and conversion guides backed by hands-on engineering experience across modern web stacks.