Lilac to HSL — Color Code

#cea2fd
Format Value
HEX #cea2fd
RGB rgb(206, 162, 253)
HSL hsl(269, 95.8%, 81.4%)
CMYK cmyk(18.6%, 36%, 0%, 0.8%)
HSV hsv(269, 36%, 99.2%)

lilac color harmonies

Tints & shades of lilac

Tints (lighter)

#d2aafd #d7b3fd #dbbbfe #e0c4fe #e4ccfe #e9d5fe #edddfe #f2e6fe #f6eeff #fbf7ff

Shades (darker)

#bb93e6 #a985cf #9676b8 #8367a1 #70588a #5e4a73 #4b3b5c #382c45 #251d2e #130f17

Contrast & accessibility

The quick brown fox

On white · 2.06:1 · Fail

The quick brown fox

On black · 10.21:1 · AAA

Recommended text color: #000000

Use lilac in code

CSS color: #cea2fd;
SCSS $color: #cea2fd;
Tailwind bg-[#cea2fd]
Swift UIColor(red: 0.808, green: 0.635, blue: 0.992, alpha: 1)
Android Color.parseColor("#cea2fd")
Flutter Color(0xFFCEA2FD)

Colors similar to lilac

Browse all Blue colors →

What is the HSL code for lilac?

The CSS color lilac in HSL format is hsl(269, 95.8%, 81.4%). Use this value directly in CSS, SVG, and most design tools.

How do I use lilac in CSS?

To apply lilac in CSS:

  • Text color: color: hsl(269, 95.8%, 81.4%);
  • Background: background-color: hsl(269, 95.8%, 81.4%);
  • Border: border-color: hsl(269, 95.8%, 81.4%);

What are all the color format values for lilac?

FormatValue
HEX#cea2fd
RGBrgb(206, 162, 253)
HSLhsl(269, 95.8%, 81.4%)
CMYKcmyk(18.6%, 36%, 0%, 0.8%)

How do I convert lilac to HSL?

Select lilac from the color name list in our color converter. The HSL value — hsl(269, 95.8%, 81.4%) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does lilac belong to?

lilac belongs to the blue color family. It is a light, vivid color with HSL values: hue 269°, saturation 95.8%, lightness 81.4%.

How do I create lighter and darker shades of lilac?

Lighter variant (lightness 95%): #f2e6fe. Darker variant (lightness 66.4%): #a757fb. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HSL used for?

HSL describes colors by hue (0–360°), saturation (0–100%) and lightness (0–100%). It is more intuitive for designers — easy to create lighter, darker or less saturated variants of any color.