#F0EAF8#F0EAF8
#F0EAF8 is a very light, near-neutral violet. Relative luminance 0.841; OKLCH L 94.6% C 0.020 H 305.3°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).
Color values
| HEX | #F0EAF8 |
|---|---|
| RGB | rgb(240, 234, 248) |
| HSL | hsl(266, 50%, 95%) |
| HSV | hsv(266, 6%, 97%) |
| CMYK | cmyk(3.2%, 5.6%, 0%, 2.7%) |
| CIE-LAB | lab(93.51, 4.52, -6.04) |
| CIE-LCH | lch(93.51, 7.54, 306.80°) |
| OKLab | oklab(94.58% 0.0114 -0.0161) |
| OKLCH | oklch(94.58% 0.02 305.3) |
| XYZ | xyz(82.2984, 84.1483, 100.6953) |
| Luminance | 0.8415 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (CSS)
#E6E6FA
ΔE00 3.41
Ghostwhite
#F8F8FF
ΔE00 5.12
Lavenderblush
#FFF0F5
ΔE00 5.13
Snow
#FFFAFA
ΔE00 7.18
Very Light Pink
#FFF4F2
ΔE00 7.48
Whitesmoke
#F5F5F5
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0EAF8 #F2F8EA
analogous
#EAEBF8 #F0EAF8 #F7EAF8
triadic
#F0EAF8 #F8F0EA #EAF8F0
tetradic
#F0EAF8 #F8EAEB #F2F8EA #EAF8F7
square
#F0EAF8 #F8EAEB #F2F8EA #EAF8F7
split-complementary
#F0EAF8 #F8F7EA #EBF8EA
monochromatic
#AE8ED9 #CFBCE9 #EFE8F7 #EFE8F7 #EFE8F7
Accessibility & contrast
On white
1.18
#F0EAF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.83
#F0EAF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0EAF8
17.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0EAF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0EAF8 | 1.00 | 1.18 | 17.83 | 17.83 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8ECF9
Deuteranopia (green-blind)
#E9ECF8
Tritanopia (blue-blind)
#EFECEE
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #f0eaf8; /* rgb */ color: rgb(240, 234, 248); /* oklch */ color: oklch(94.6% 0.020 305.3);
Tailwind
colors: {
custom: {
50: '#f5f0fa',
500: '#f0eaf8',
950: '#000000',
},
}SCSS
$custom: #f0eaf8; $custom-light: #f5f0fa; $custom-dark: #000000;
JSON
{
"hex": "#f0eaf8",
"rgb": {
"r": 240,
"g": 234,
"b": 248
},
"hsl": {
"h": 265.714,
"s": 50,
"l": 94.51
},
"oklch": {
"l": 0.94578,
"c": 0.01969,
"h": 305.3
},
"luminance": 0.84148
}Semantic roles & 50–950 ramp
primary
#F0EAF8
secondary
#C6D8AE
accent
#BD287D
background
#FFFFFF
surface
#FEFEFF
border
#D6D6D7
text
#171617
muted
#858585