#F0DEF6#F0DEF6
#F0DEF6 is a very light, muted purple. Relative luminance 0.774; OKLCH L 92.2% C 0.037 H 317.7°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).
Color values
| HEX | #F0DEF6 |
|---|---|
| RGB | rgb(240, 222, 246) |
| HSL | hsl(285, 57%, 92%) |
| HSV | hsv(285, 10%, 96%) |
| CMYK | cmyk(2.4%, 9.8%, 0%, 3.5%) |
| CIE-LAB | lab(90.52, 10.37, -9.43) |
| CIE-LCH | lch(90.52, 14.02, 317.71°) |
| OKLab | oklab(92.22% 0.0277 -0.0252) |
| OKLCH | oklch(92.22% 0.037 317.7) |
| XYZ | xyz(78.6884, 77.4222, 97.9695) |
| Luminance | 0.7742 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lavender (CSS)
#E6E6FA
ΔE00 7.23
Thistle
#D8BFD8
ΔE00 7.26
Pale Lavender
#EECFFE
ΔE00 7.49
Very Light Purple
#F6CEFC
ΔE00 8.13
Lavenderblush
#FFF0F5
ΔE00 8.17
Pale Mauve
#FED0FC
ΔE00 8.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0DEF6 #E4F6DE
analogous
#E4DEF6 #F0DEF6 #F6DEF0
triadic
#F0DEF6 #F6F0DE #DEF6F0
tetradic
#F0DEF6 #F6E4DE #E4F6DE #DEF0F6
square
#F0DEF6 #F6E4DE #E4F6DE #DEF0F6
split-complementary
#F0DEF6 #F0F6DE #DEF6E4
monochromatic
#C47EDC #DAAEE9 #F0DEF6 #F4E7F8 #F4E7F8
Accessibility & contrast
On white
1.27
#F0DEF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.48
#F0DEF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0DEF6
16.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0DEF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0DEF6 | 1.00 | 1.27 | 16.48 | 16.48 |
| #FFFFFF | 1.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCE3F7
Deuteranopia (green-blind)
#DFE4F5
Tritanopia (blue-blind)
#F0E0E6
Achromatopsia (no color)
#E4E4E4
Design tokens & code
CSS
--color: #f0def6; /* rgb */ color: rgb(240, 222, 246); /* oklch */ color: oklch(92.2% 0.037 317.7);
Tailwind
colors: {
custom: {
50: '#f5e8f9',
500: '#f0def6',
950: '#000000',
},
}SCSS
$custom: #f0def6; $custom-light: #f5e8f9; $custom-dark: #000000;
JSON
{
"hex": "#f0def6",
"rgb": {
"r": 240,
"g": 222,
"b": 246
},
"hsl": {
"h": 285,
"s": 57.143,
"l": 91.765
},
"oklch": {
"l": 0.92216,
"c": 0.03738,
"h": 317.7
},
"luminance": 0.77422
}Semantic roles & 50–950 ramp
primary
#F0DEF6
secondary
#AFD7A1
accent
#C5214A
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#171617
muted
#858485