Huebook

Lavender

Lavender is a medium, saturated violet color with the hex code #B56EDC (hue 279°, saturation 61%, lightness 65%). CSS has a keyword with the same name, lavender, but it is a different color (#E6E6FA, see Lavender (CSS)).

#B56EDC
NameHEXRGBHSLCMYKOKLCH
Lavender#B56EDC181, 110, 220279°, 61%, 65%18, 50, 0, 1465.9% 0.171 312

Contrast with white text 3.37:1, with black text 6.23:1 — use black text on Lavender.

CSS also has a named color lavender, but it is a different color: #E6E6FA. In a stylesheet, use #B56EDC for Lavender, not the keyword.

Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work

Adjust Lavender

Move the sliders to make Lavender lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Lavender
  • HEX#B56EDC
  • RGBrgb(181 110 220)
  • HSLhsl(279 61% 65%)

Variations of Lavender

Text on Lavender

White textThe quick brown fox3.37:1 · AA large text only · AAA fail
Black textThe quick brown fox6.23:1 · AA pass · AAA large text only

WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.

Lavender with color blindness

Normal #B56EDC
Protanopia #5488E0
Deuteranopia #698DD9
Tritanopia #B1809B

How Lavender appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.

Tints and shades

#EAD6F5
#CB98E6
#AB5BD7
#872DB9
#5A1E7B
#2D0F3E

Colors that go with Lavender

Six color schemes built on Lavender with classic harmony rules. The complementary scheme pairs it with Tropical Light (#9CD572), the color opposite it on the color wheel.

Nearest CSS named colors

Gradients with Lavender

Similar light purple colors

Questions

What is the hex code for Lavender?

#B56EDC — RGB 181, 110, 220, HSL 279°, 61%, 65%.

Is Lavender a warm or cool color?

Cool — its hue sits at 279° on the color wheel.