PURPLE

Lilac

#B57EDC
Conversions
HEX#B57EDC
RGBrgb(181, 126, 220)
HSLhsl(275, 57%, 68%)
HSVhsv(275, 43%, 86%)
CMYKcmyk(18%, 43%, 0%, 14%)
Copy CSS
color: #b57edc; /* rgb */ color: rgb(181, 126, 220); /* hsl */ color: hsl(275, 57%, 68%);
Contrast
On whiteFail · 3.01 : 1
On ink blackPass · 6.36 : 1
Shades
Tints
Pairings

About Lilac

Lilac is the hex color #B57EDC, which translates to rgb(181, 126, 220) in RGB and hsl(275, 57%, 68%) in HSL. On the color wheel it sits at 275 degrees, with a saturation of 57 percent and a lightness of 68 percent. That combination puts Lilac in the workable middle of the purple family, neither pastel nor fully saturated.

How Lilac compares

The closest standard CSS keyword is mediumpurple (#9370DB), a CIE76 distance of 12.2 away in CIELAB. That is a visible difference, so the keyword is not a substitute here. In the Tailwind CSS 4.3.1 palette the nearest token is violet-400 (#A684FF), at a distance of 17.0. Inside this library the closest neighbour is Amethyst at 10.7. Sorted by lightness, Lilac is number 24 of the 31 purple colors here.

Text on Lilac

One of the five common text colors below clears WCAG AA for normal text on Lilac, led by Ink black at 6.36:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Lilac already loaded as the background.

Contrast of common text colors on Lilac. AA normal text needs 4.5:1, AA large text and non-text elements need 3:1, AAA normal text needs 7:1.
Text colorRatioAA normalAA largeAAA normal
White #FFFFFF3.01:1FailPassFail
Ink black #0F0F126.36:1PassPassFail
Mid grey #6B72801.61:1FailFailFail
Dark grey #3741513.43:1FailPassFail
Light grey #E5E7EB2.43:1FailFailFail

Building a palette around Lilac

The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Lilac for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color.

Full values for Lilac

FormatValue
HEX#B57EDC
RGBrgb(181, 126, 220)
HSLhsl(275, 57%, 68%)
HSVhsv(275, 43%, 86%)
CMYKcmyk(18%, 43%, 0%, 14%)
OKLCHoklch(68.44% 0.1450 309.99)
CIELABlab(61.58 38.52 -39.99)

Use Lilac in a tool

Nearby colors

Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.