Lavender Color
Lavender is a very pale violet-blue. Its hex code is #E6E6FA, which is rgb(230, 230, 250) in RGB, hsl(240, 67%, 94%) in HSL and cmyk(8%, 8%, 0%, 2%) in CMYK. It is a standard named color in CSS, so you can write it as lavender in a stylesheet.
#E6E6FAexactly lavender
This is the CSS color lavender #E6E6FA
Use 3 or 6 digits, for example #1E90FF or 19F
For example rgb(30, 144, 255) or 30 144 255
For example hsl(210, 100%, 56%)
For example cmyk(88%, 44%, 0%, 0%)
Recent colors
Colors you pick appear here. They stay on this device.
By the Hex Color Picker Team. Updated
Lavender color codes
- Hex:
#E6E6FA - RGB:
rgb(230, 230, 250) - HSL:
hsl(240, 67%, 94%) - CMYK:
cmyk(8%, 8%, 0%, 2%)(standard formula, not a print profile) - CSS name:
lavender
About the color lavender
Lavender is almost a tinted white: all three channels are high, with blue highest. It gives a gentle, calm background without the starkness of pure white.
Where lavender works
- Soft panels, cards and form backgrounds.
- Wellness, beauty and lifestyle brands.
- Subtle section dividers on white pages.
Colors that go with lavender
These named colors pair well with lavender. Click one to see its page where it exists.
- #4B0082indigo
- #DDA0DDplum
- #808080gray
The complementary color of lavender, directly opposite it on the color wheel, is #FAFAE6, closest to cornsilk. The analogous neighbors are #E6F0FA and #F0E6FA, and the triadic partners are #FAE6E6 and #E6FAE6. The color palette generator builds a full scheme from any of them.
Named colors nearest to lavender are mistyrose, gainsboro, and lavenderblush.
Shades and tints of lavender
Keeping the hue and saturation of lavender and stepping the lightness from light to dark gives this scale. Use the lighter values for backgrounds and the darker ones for text and borders.
- #EAEAFB
- #BABAF1
- #8A8AE8
- #5A5ADE
- #2B2BD4
- #2121A5
- #171775
- #0E0E45
- #040415
Contrast and accessibility
White text on lavender has a contrast ratio of 1.2:1, and black text has 17.1:1. The WCAG AA guideline asks for at least 4.5:1 for body text and 3:1 for large text. Black text passes on lavender, and white text does not.
Lavender is so light that white text on it is unreadable, and it needs a border to stand out on white.
Common questions
What is the hex code for lavender?
The hex code for lavender is #E6E6FA. In RGB it is rgb(230, 230, 250) and in HSL it is hsl(240, 67%, 94%).
How does lavender differ from lavenderblush?
Lavender is a cool pale violet-blue. Lavenderblush is a near-white with a pink lean.
Is white text readable on lavender?
Not for body text. White on lavender has a contrast ratio of 1.2:1, below the 4.5:1 WCAG AA guideline. Black text has a ratio of 17.1:1, which passes.