Skip to main content

Lilac

#C8A2C8·purple family·WCAG AAA

Tints & Shades

50

100

200

300

400

500

600

700

800

900

Scale from white (50) through Lilac (500) to black (900), interpolated in Lab color space.

Color Values

HEX
#C8A2C8
RGB
rgb(200, 162, 200)
HSL
hsl(300, 26%, 71%)
OKLCH
oklch(0.759 0.068 326)
CMYK
cmyk(0%, 19%, 0%, 22%)
Luminance:0.4229
CSS var:--color-lilac
Tailwind:bg-[#C8A2C8]

Accessibility

Score: 48/100

On White (#FFF)

2.22:1

Fail

On Black (#000)

9.46:1

AAA

On Light Gray (#F5F5F5)

2.04:1

Fail

Best text color on this background:

black9.46:1
Open in Contrast Checker →

Design Applications

Background

background-color: #C8A2C8

Text Color

color: #C8A2C8

bg-[#C8A2C8] text-[#000000]

Accent border card component

border-left: 4px solid #C8A2C8

Color Meaning & Psychology

Purple was among the most expensive dyes in history — extracted from murex snails, requiring thousands to color a single garment. This scarcity created the enduring association with royalty, power, and luxury. Purple is rare in nature, which is why it feels special and mysterious. Red-purples feel passionate and romantic; blue-purples feel calm and contemplative; mid-purples feel creative and spiritual. Purple activates both warm (red) and cool (blue) emotional responses simultaneously, creating an ambiguity that different cultures interpret differently — wisdom in Asia, mourning in parts of Europe, magic in fantasy contexts, lavish excess in baroque design. Its lighter value makes it approachable and soft — suitable for backgrounds, secondary UI states, and contexts requiring the hue's character without full intensity.

Industry Usage

Common contexts and industries where Lilac is applied in professional design.

  • Luxury beauty and cosmetics brands
  • Premium consumer products and packaging
  • Spiritual, wellness, and meditation apps
  • Creative agencies and design studios
  • Entertainment and gaming (magic, fantasy)
  • Anti-aging and prestige skincare
  • Confectionery and indulgence brands
  • Academic institutions emphasizing wisdom

Accessibility Considerations

Normal Text

Fails AA

4.5:1 minimum required

Large Text

Fails AA Large

3:1 minimum required

UI Components

Check contrast

3:1 for non-text UI

Lilac is a light color. Use black (#000000) text on top of it for maximum readability (9.46:1). Avoid white text on this background.

CSS & Code Examples

Background

background-color: #C8A2C8;

Text

color: #C8A2C8;

Border

border: 2px solid #C8A2C8;

Box Shadow

box-shadow: 0 4px 20px #C8A2C840;

Gradient

background: linear-gradient(135deg, #C8A2C8, #fbd3fb);

Tailwind-style

--color-lilac: #C8A2C8;

Tailwind CSS Utilities

Use arbitrary value syntax in Tailwind CSS to apply Lilac without a custom config.

Background

bg-[#C8A2C8]

Text

text-[#C8A2C8]

Border

border-[#C8A2C8]

Ring

ring-[#C8A2C8]

Fill

fill-[#C8A2C8]

From (gradient)

from-[#C8A2C8]

Via (gradient)

via-[#C8A2C8]

To (gradient)

to-[#C8A2C8]

Design Tokens

Ready-to-use Lilac design token in CSS custom properties, SCSS, Tailwind v3/v4, and JSON formats.

CSS Custom Properties

:root {
  --color-lilac: #C8A2C8;
  --color-lilac-rgb: 200, 162, 200;
  --color-lilac-hsl: 300, 26%, 71%;
}

SCSS Variables

$color-lilac: #C8A2C8;
$color-lilac-rgb: 200, 162, 200;
$color-lilac-hsl: 300, 26%, 71%;

Tailwind v3 Config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'lilac': '#C8A2C8',
      },
    },
  },
};

Tailwind v4 (@theme)

/* tailwind.css */
@theme {
  --color-lilac: #C8A2C8;
}

JSON Design Token (W3C format)

{
  "lilac": {
    "value": "#C8A2C8",
    "type": "color",
    "description": "Lilac — #C8A2C8"
  }
}

What Does Lilac Mean? Color Psychology & Cultural Symbolism

Few colors carry the semantic density of purple. At #C8A2C8, Lilac compresses luxury, creativity, and mystery into a single light tone—a quality that has made the purple family the default language of premium, imaginative, and unconventional brands.

  • Purple's historical scarcity (Tyrian purple was worth more than gold) embedded it permanently in the Western imagination as a royal, noble, and exclusive color. In contemporary design it bridges luxury (its historic connotation) and creativity (its association with the imagination and alternative thinking).
  • In Japan, purple (murasaki) has been associated with nobility and spiritual power for centuries, and the tradition continues in contemporary culture. In Thai mourning traditions, purple is worn by widows—one of the few cultures where it carries grief rather than luxury associations.
  • Lilac's light lightness (71%) shifts its psychological register: Lavender and lilac tones soften purple's intensity into a dreamy, romantic, and approachable quality—widely used in beauty, wellness, and feminine lifestyle branding.
  • At 26% saturation, Lilac reads as muted—Dusty and muted purples (mauve, thistle, grape) trade vivid intensity for a sophisticated vintage quality—popular in lifestyle brands seeking an alternative-luxury positioning.

Lilac is a commitment color—use it fully or not at all. Half measures produce neither luxury nor creativity.

How to Use Lilac in Design: Applications, Pairings & Best Practices

Lilac rewards bold usage. Timid deployment—a small accent in an otherwise neutral palette—undersells its power. Used with commitment, it creates the kind of brand distinction that no other hue achieves.

  • UI components: premium feature highlights, creative mode indicators, luxury tier badges—Lilac performs reliably in all these roles with its light tonal character.
  • Brand & identity: premium branding, creative agency identities, beauty packaging—contexts where Lilac's muted quality creates the right register.
  • Typography: Lilac as text requires a dark background; its 71% lightness means it provides 2.2:1 contrast on white, not meeting WCAG AA.
  • Lilac creates strong legibility with black text overlays (9.5:1 contrast ratio), making it a reliable background or surface color in design systems
  • Proportional use: Lilac's muted quality means it scales well across proportions—from full-bleed backgrounds to single-pixel borders—making it an unusually versatile palette component.

Lilac is a commitment color—use it fully or not at all. Half measures produce neither luxury nor creativity.

Lilac Accessibility: WCAG Contrast Ratios, Color Blindness & Inclusive Design

Lilac (#C8A2C8) achieves a 9.46:1 contrast ratio with black text, surpassing the WCAG 2.1 AAA threshold of 7:1. This exceptional contrast qualifies it for body text, UI components at any size, and all accessibility-sensitive interface contexts. Relative luminance: 42.3%.

  • As text on white (#FFFFFF): 2.22:1 — Fail
  • As text on black (#000000): 9.46:1 — AAA ✓
  • Best text color on Lilac background: Black (#000000) at 9.46:1
  • WCAG 2.1 luminance: 42.3% — above-median luminance—it reads as a light to mid-tone background, compatible with dark text while retaining color personality
  • Lilac qualifies for all text sizes including small body copy (AAA).
  • Color blindness consideration: tritanopia (blue-yellow color blindness, ~0.003% of population) may affect how this color reads. While rare, for maximum accessibility supplement color signals with text or icon indicators in critical states.

Always verify Lilac at its final intended size and weight using a real contrast checker—font weight and rendering environment affect perceived legibility beyond what raw ratios capture.

Lilac in Industry: Branding, Design & Market Applications

Lilac's brand positioning falls squarely in the territory of luxury, creativity, mystery, and wisdom. Industry data supports its strongest performance in beauty & cosmetics, luxury goods, creative services categories, where the muted saturation calibrates the message at a light, considered level.

  • Beauty & Cosmetics: Purple is the second most common color in beauty branding, projecting luxury, femininity, and transformative aspiration. It signals that a product is special, premium, and designed for moments of indulgence. (examples: Glossier, Fenty Beauty, Rare Beauty) Lavender tones work for accessible beauty; deep violet and plum for luxury skincare and perfume.
  • Creative & Agency Services: Creative studios, design agencies, and advertising firms use purple to signal imagination, unconventional thinking, and creative authority. It differentiates them from the blue-dominated corporate world while retaining enough gravitas to command respect. Works best when paired with a strong neutral (black, charcoal, or cream) to prevent it from reading as whimsical.
  • Gaming & Entertainment: Purple dominates gaming, streaming, and digital entertainment branding because it signals the threshold between the ordinary world and an imaginative one. It's the color of portals, magic systems, and premium digital experiences. (examples: Disney+, Hulu, Netflix) Twitch's purple brand has made the color synonymous with live streaming culture—worth considering in adjacent spaces.
  • Brand positioning: Lilac is best suited for brands projecting luxury, creativity, imagination. Categories outside this positioning—mainstream corporate environments where it reads as unconventional—tend to see weaker results.
  • Adjacent applications: Beyond primary industries, Lilac works effectively in premium branding, creative agency identities, beauty packaging—contexts where creativity serves a secondary but reinforcing role.

For marketers and brand strategists, Lilac is a commitment to luxury, creativity, mystery, and wisdom. Match it with industries that make that promise and it will pay dividends consistently.

Frequently Asked Questions

What is the hex code for Lilac?
The hex code for Lilac is #C8A2C8. Its RGB values are rgb(200, 162, 200) and its HSL values are hsl(300, 26%, 71%).
What does Lilac mean in design?
Purple was among the most expensive dyes in history — extracted from murex snails, requiring thousands to color a single garment. This scarcity created the enduring association with royalty, power, and luxury. Purple is rare in nature, which is why it feels special and mysterious. Red-purples feel passionate and romantic; blue-purples feel calm and contemplative; mid-purples feel creative and spiritual. Purple activates both warm (red) and cool (blue) emotional responses simultaneously, creating an ambiguity that different cultures interpret differently — wisdom in Asia, mourning in parts of Europe, magic in fantasy contexts, lavish excess in baroque design. Its lighter value makes it approachable and soft — suitable for backgrounds, secondary UI states, and contexts requiring the hue's character without full intensity.
Is Lilac WCAG accessible?
Lilac (#C8A2C8) does not pass WCAG AA on white (2.22:1 ratio). Use it on dark backgrounds where it achieves 9.46:1. Its overall accessibility score is 48/100.
What colors go well with Lilac?
Lilac pairs well with its complementary color Green (#008000). Analogous colors like Amethyst and Electric Purple also work harmoniously. Check the Color Harmonies section above for the full palette.
What is Lilac used for?
Lilac is commonly used for: Luxury beauty and cosmetics brands; Premium consumer products and packaging; Spiritual, wellness, and meditation apps; Creative agencies and design studios; Entertainment and gaming (magic, fantasy).
What are the CSS and Tailwind values for Lilac?
In CSS, use `color: #C8A2C8` or `background-color: #C8A2C8`. The CSS custom property is `--color-lilac: #C8A2C8`. In Tailwind CSS, use the arbitrary value class `bg-[#C8A2C8]` for backgrounds or `text-[#C8A2C8]` for text.