Lilac
#B57EDCrgb(181, 126, 220)hsl(275, 57%, 68%)
Lilac is #B57EDC, rgb(181, 126, 220).
Colors that go with Lilac
Complementary
Analogous
Triadic
1 of 2 backgrounds pass AA
- On whiteFail3.01 : 1
- On ink blackPass6.36 : 1
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.
| Text color | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White #FFFFFF | 3.01:1 | Fail | Pass | Fail |
| Ink black #0F0F12 | 6.36:1 | Pass | Pass | Fail |
| Mid grey #6B7280 | 1.61:1 | Fail | Fail | Fail |
| Dark grey #374151 | 3.43:1 | Fail | Pass | Fail |
| Light grey #E5E7EB | 2.43:1 | Fail | Fail | Fail |
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, or open the palette generator with Lilac locked and let it fill in the rest.
Full values for Lilac
| Format | Value |
|---|---|
| HEX | #B57EDC |
| RGB | rgb(181, 126, 220) |
| HSL | hsl(275, 57%, 68%) |
| HSV | hsv(275, 43%, 86%) |
| CMYK | cmyk(18%, 43%, 0%, 14%) |
| OKLCH | oklch(68.44% 0.1450 309.99) |
| CIELAB | lab(61.58 38.52 -39.99) |
Frequently asked questions
What is the RGB value of Lilac?
Lilac (#B57EDC) is rgb(181, 126, 220): 181 red, 126 green and 220 blue on the 0 to 255 scale. Blue leads at 220, red follows at 181 and green trails at 126, which puts the hue at 275 degrees. In HSL the same color is hsl(275, 57%, 68%).
What colour is #B57EDC?
#B57EDC is Lilac, a light purple colour with a hue of 275 degrees, 57% saturation and 68% lightness. For print the CMYK breakdown is 18% cyan, 43% magenta, 0% yellow and 14% black. Its nearest neighbour in this library is Amethyst, 10.7 away in CIELAB, a difference you can see.
Is Lilac a CSS color name?
No. Lilac is not one of the 148 CSS named colors, so write it as #B57EDC. The nearest keyword is mediumpurple (#9370DB), a CIE76 distance of 12.2: far enough that the keyword reads as a different color.
What colors go with Lilac?
Opposite Lilac on the color wheel sits the complementary #A5DC7E, the boldest accent by hue. For a calmer scheme use the analogous neighbours #867EDC and #DC7ED4; for a balanced three-color scheme use the triadic pair #DCB57E (close to Burlywood) and #7EDCB5. Of these, #A5DC7E has the most contrast against Lilac, at 1.88:1, so pair it by hue, not for legibility.
What text color is readable on Lilac?
Ink black (#0F0F12) is the most readable on Lilac, at 6.36:1, which clears WCAG AA (4.5:1) but not AAA. 1 of the 5 common text colors tested passes AA for normal text.
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.