Skip to content
#C8A2C8

Lilac color

Lilac (#C8A2C8) is a pale purple named after the lilac flower. It suits spring palettes, beauty products, invitations and gentle UI accents.

HEX
#C8A2C8
RGB
rgb(200, 162, 200)
HSL
hsl(300, 26%, 71%)
CMYK
cmyk(0%, 19%, 0%, 22%)

Lilac shades and tints

Darker shades for text and borders, lighter tints for backgrounds and hover states. Click a value to copy it.

  • #B27CB2
  • #985998
  • #724372
  • #4C2D4C
  • #261626
  • #D1B1D1
  • #DBC1DB
  • #E4D0E4
  • #EDE0ED
  • #F6EFF6

Lilac color palettes

Ready-made color schemes built around #C8A2C8 using standard color-wheel rules.

Complementary palette

  • #A362A3
  • #C8A2C8
  • #EEE7EE
  • #A2C8A2
  • #68A668

Analogous palette

  • #AFA2C8
  • #BBA2C8
  • #C8A2C8
  • #C8A2BB
  • #C8A2AF

Triadic palette

  • #C8A2C8
  • #C8C8A2
  • #A2C8C8
  • #EDE8ED
  • #949457

Monochromatic palette

  • #301C30
  • #673C67
  • #A15EA1
  • #C398C3
  • #E5D2E5
Make your own palette in the Color Palette Generator

Text contrast on lilac

White text

2.22:1 · Fails AA

Black text

9.46:1 · Passes AA

Check any color pair in the Contrast Checker

Brands with lilac-like logo colors

Colors similar to lilac

Lilac color FAQ

What is the HEX code for lilac?

The standard HEX code for lilac is #C8A2C8. In RGB it is rgb(200, 162, 200), in HSL hsl(300, 26%, 71%) and in CMYK cmyk(0%, 19%, 0%, 22%).

What colors go with lilac?

Its complementary color is #A2C8A2, which gives the strongest contrast. For a calmer look, use the analogous palette (#AFA2C8, #BBA2C8, #C8A2C8, #C8A2BB, #C8A2AF) or the shades and tints of lilac shown on this page.

Is lilac a warm or cool color?

Lilac is a cool color, based on where its hue (300°) sits on the color wheel.

Which text color is readable on lilac?

Black text has the higher contrast on #C8A2C8, at 9.46:1. That passes WCAG AA for normal text.

How do I use lilac in CSS?

Use the HEX value directly, for example color: #C8A2C8; or background-color: #C8A2C8;. You can also store it as a variable: --lilac: #C8A2C8;.