Lavender Color (#E6E6FA)
Lavender is a CSS named color defined as hex code #E6E6FA. Lavender is a very pale blue-violet, close to white, with red and green channels equal and blue slightly higher.
Color Overview & Formats
lavenderLuminance: 0.8032| Format | Syntax / Values | Notes | Action |
|---|---|---|---|
| HEX | #E6E6FA | 6-digit hex web code | |
| RGB | rgb(230, 230, 250) | Red, Green, Blue channels (0-255) | |
| HSL | hsl(240, 67%, 94%) | Hue (240°), Saturation (67%), Lightness (94%) | |
| HSV / HSB | hsv(240, 8%, 98%) | Hue, Saturation (8%), Value/Brightness (98%) | |
| CMYK | cmyk(8%, 8%, 0%, 2%) | Digital mathematical approximation (non-print) | |
| OKLCH | oklch(0.931 0.027 285.9) | Perceptually uniform color space (CSS Color 4 approximation) |
background-color: #E6E6FA; /* or lavender */- Select color format: Choose the desired format (HEX #E6E6FA, RGB, or HSL).
- Copy the code: Click the copy button or press Tab+Enter to store in clipboard.
- Pair with black text: Black text on Lavender reaches 17.06:1 (WCAG AAA).
What Colors Go With Lavender?
These 6 colors all go well with Lavender (#E6E6FA), and each one is a standard CSS named color. The ratio is the WCAG 2.2 contrast of that color on Lavender: at 4.5:1 or above it works for text; below that, use it for backgrounds and accents.
Harmonious Palettes & Tints
The palettes below are algorithmically generated across standard intervals based on Lavender (HSL 240°). Each group offers full palette copy and live preview:
Complementary Harmony
Hue rotated 180 degrees on the HSL wheel (240° to 60°), keeping the original saturation and lightness.
Analogous Harmony
Hues 30 degrees either side (210° and 270°), keeping the original saturation and lightness.
Triadic Harmony
Hues spaced evenly by 120 degrees (0° and 120°), keeping the original saturation and lightness.
Tints & Shades
Mixed with white (tints) and black (shades) in sRGB at 60% and 30%.
WCAG 2.2 Text Readability & Contrast Check
Under WCAG 2.2 criteria, regular body text requires at least 4.5:1 (AA) and large text requires at least 3.0:1. The table below displays calculated contrast ratios:
| Foreground Color | Contrast Ratio | Normal Text (AA) | Large Text (AA) | Normal Text AAA (>= 7.0:1) |
|---|---|---|---|---|
Pure Black (#000000) | 17.06:1 | Pass | Pass | Pass |
Pure White (#FFFFFF) | 1.23:1 | Fail | Fail | Fail |
Dark Charcoal (#212529) | 12.53:1 | Pass | Pass | Pass |
Mid Gray (#666666) | 4.67:1 | Pass | Pass | Fail |
Interactive Contrast Tester
Enter text foreground and background colors to verify WCAG legibility:
This is sample body text rendered directly to verify contrast and readability.
Lavender Background Download
Download standard 1920x1080 solid desktop wallpaper or generate mobile wallpaper:
Standard Wallpaper: 1920x1080 PNG (#E6E6FA)Download Options
All wallpaper files precisely match the W3C standard color value:
CSS Standard & Usage Notes
lavender = #e6e6fa (rgb(230, 230, 250))
UI Design & Accessibility Guidelines
Use it for backgrounds, cards, table rows and hover states in calm, soft layouts. On Lavender, black text passes WCAG AAA at every size (17.06:1); white text fails even for large text (1.23:1).
Frequently Asked Questions (FAQ)
Can I use black text on Lavender?
Yes. Black text on Lavender has a WCAG 2.2 contrast ratio of 17.06:1, passing both AA (4.5:1) and AAA (7:1) at every text size.
Can I use white text on Lavender?
No. White text on Lavender has a WCAG 2.2 contrast ratio of only 1.23:1, below the 3:1 minimum even for large text.
What colors go with Lavender?
Indigo, Dark Slate Blue, Rebecca Purple, Purple, Navy and Plum all go well with Lavender. Indigo (10.52:1), Dark Slate Blue (7.37:1), Rebecca Purple (6.83:1), Purple (7.65:1) and Navy (13.01:1) have enough contrast for text on Lavender; Plum works better as a background or accent.
Is lavender purple or blue?
Lavender (#E6E6FA) has a hue of exactly 240°, the same as pure blue, but it is so pale that it reads as a soft blue-violet tint.