#E6E6FA
lavender
#E6E6FA is a blue colour. In RGB it is 230 red, 230 green and 250 blue, which converts to a hue of 240 degrees, 67% saturation and 94% lightness. It is one of the named CSS colours, written as lavender in stylesheets.
Color values
| HEX | #E6E6FA |
|---|---|
| RGB | rgb(230, 230, 250) |
| HSL | hsl(240, 67%, 94%) |
| HSV | hsv(240, 8%, 98%) |
| CMYK | cmyk(8%, 8%, 0%, 2%) |
Contrast and accessibility
Against white the contrast ratio is 1.23:1, and against black it is 17.06:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
| Background | Ratio | Normal text | Large text |
|---|---|---|---|
| White | 1.23:1 | Fail | Fail |
| Black | 17.06:1 | AAA | AAA |
Tints and shades
Lighter tints move #E6E6FA toward white, and darker shades move it toward black.
Tints
Shades
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Code
| CSS | color: #E6E6FA; |
|---|---|
| CSS rgb() | color: rgb(230 230 250); |
| Tailwind | bg-[#e6e6fa] |
| SwiftUI | Color(red: 0.902, green: 0.902, blue: 0.980) |
| Android | Color.parseColor("#E6E6FA") |