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)).
- HEX
#B56EDC - RGB
rgb(181 110 220) - HSL
hsl(279 61% 65%) - OKLCH
oklch(65.9% 0.171 312)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Lavender | #B56EDC | 181, 110, 220 | 279°, 61%, 65% | 18, 50, 0, 14 | 65.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.
- HEX
#B56EDC - RGB
rgb(181 110 220) - HSL
hsl(279 61% 65%)
Variations of Lavender
Text on Lavender
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
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
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.
- Lavender Complementary Color Scheme#B56EDC#DEBEEF#9CD572#6ECB3C#D0F0C0
- Lavender Analogous Color Scheme#6495DA#6F6ED1#B56EDC#DA70D6#DB7093
- Lavender Triadic Color Scheme#B56EDC#DAB46F#71DCB8#D5C7E8#CF9632
- Lavender Split-complementary Color Scheme#B56EDC#C7DC68#77DD77#9632CE#E3EBAE
- Lavender Tetradic Color Scheme#B56EDC#D77E70#9CD572#73CCD8#D5C7E8
- Lavender Monochromatic Color Scheme#662288#9632CE#B56EDC#DDAAEE#F3E9F7
Nearest CSS named colors
- Medium Orchid (
mediumorchid): Medium Orchid (#BA55D3) is darker than Lavender (relative luminance 0.216 vs 0.261) and equally saturated, with its hue 9° away. - Medium Purple (
mediumpurple): Medium Purple (#9370DB) is darker than Lavender (relative luminance 0.229 vs 0.261) and equally saturated, with its hue 19° away. - Orchid (CSS) (
orchid): Orchid (CSS) (#DA70D6) is lighter than Lavender (relative luminance 0.313 vs 0.261) and equally saturated, with its hue 24° away. - Medium Slate Blue (
mediumslateblue): Medium Slate Blue (#7B68EE) is darker than Lavender (relative luminance 0.203 vs 0.261) and more saturated, with its hue 30° away.
Gradients with Lavender
Similar light purple colors
- Amethyst#9966CC
- Bubblegum Baby Girl#CC55EE
- Dream Vapour#CC99EE
- Dreamy Candy Forest#B195E4
- Enchanted Lavender#BFA3D9
- Enchanted Lilac#A893C1
- Fake Love#CC77EE
- Flaming Flamingo#DD55FF
- Flamingo Queen#CC33FF
- Fleur-De-Lis#B090C7
- Fog Syringa#C4BAD2
- Illicit Purple#BF77F6
- Legendary Lavender#9D61D4
- Lilac Lace#C6A1CF
- Lucius Lilac#BAA2CE
- Magento#BF3CFF
- Matt Purple#9370DB
- Mecha Kitty#D0C4D3
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.