AfoliOpen Afoli →

Liliac color #C48EFD

Liliac is a color name from the xkcd color survey for the hex code #C48EFD — RGB 196, 142, 253, HSL 269°, 97%, 77%.

Open in Afoli Colour tools →

#C48EFDLiliac

Color codes

HEX
#C48EFD
RGB
rgb(196, 142, 253)
HSL
hsl(269, 97%, 77%)
CMYK
23%, 44%, 0%, 1%
OKLCH
oklch(74.2% 0.163 305.2)

Tints and shades

#F8F2FF#E5CFFF#D2ABFF#BE88F7#A46FDB#8B56C0#733DA5#5C238A#460071#2C0049#140025

Color harmonies

Complementary
#C48EFD#94BD38
Analogous
#94A3FF#C48EFD#E980D4
Triadic
#C48EFD#F09210#00C6B7
Split complementary
#C48EFD#CAA900#39C97D
Tetradic
#C48EFD#FF8262#94BD38#00C0DF

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Liliac text on white2.43 : 148Fails for text
Liliac text on black8.63 : 1-54AAA — any text
White text on Liliac2.43 : 1-53Fails for text
Black text on Liliac8.63 : 156AAA — any text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Palettes with this color

Frequently asked questions

What is the hex code of Liliac?

Liliac has the hex code #C48EFD, which is RGB 196, 142, 253 and HSL 269°, 97%, 77%.

Which text color reads best on Liliac?

Black text: contrast 8.63 : 1 (white text: 2.43 : 1).

Which colors go well with Liliac?

Its complementary color is #94BD38; analogous colors are #94A3FF and #E980D4; a triadic set adds #F09210 and #00C6B7.

Similar colors

Sources and licences

Updated November 21, 2026