#F8F2FE#F8F2FE
#F8F2FE is a very light, near-neutral violet. Relative luminance 0.906; OKLCH L 96.9% C 0.017 H 308.2°. Best body text is #000000 at 19.12:1 contrast (WCAG AA passes).
Color values
| HEX | #F8F2FE |
|---|---|
| RGB | rgb(248, 242, 254) |
| HSL | hsl(270, 86%, 97%) |
| HSV | hsv(270, 5%, 100%) |
| CMYK | cmyk(2.4%, 4.7%, 0%, 0.4%) |
| CIE-LAB | lab(96.25, 4.12, -5.04) |
| CIE-LCH | lch(96.25, 6.52, 309.27°) |
| OKLab | oklab(96.92% 0.0106 -0.0134) |
| OKLCH | oklch(96.92% 0.017 308.2) |
| XYZ | xyz(88.3499, 90.6166, 106.5830) |
| Luminance | 0.9062 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ghostwhite
#F8F8FF
ΔE00 3.91
Lavenderblush
#FFF0F5
ΔE00 4.38
Lavender (CSS)
#E6E6FA
ΔE00 4.66
Snow
#FFFAFA
ΔE00 5.84
Very Light Pink
#FFF4F2
ΔE00 6.42
Pale Grey
#FDFDFE
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F8F2FE #F8FEF2
analogous
#F2F2FE #F8F2FE #FEF2FE
triadic
#F8F2FE #FEF8F2 #F2FEF8
tetradic
#F8F2FE #FEF2F2 #F8FEF2 #F2FEFE
square
#F8F2FE #FEF2F2 #F8FEF2 #F2FEFE
split-complementary
#F8F2FE #FEFEF2 #F2FEF2
monochromatic
#BB80F5 #D9B9FA #F0E3FD #F0E3FD #F0E3FD
Accessibility & contrast
On white
1.10
#F8F2FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.12
#F8F2FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F8F2FE
19.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F8F2FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F8F2FE | 1.00 | 1.10 | 19.12 | 19.12 |
| #FFFFFF | 1.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F0F4FF
Deuteranopia (green-blind)
#F1F4FE
Tritanopia (blue-blind)
#F7F3F6
Achromatopsia (no color)
#F4F4F4
Design tokens & code
CSS
--color: #f8f2fe; /* rgb */ color: rgb(248, 242, 254); /* oklch */ color: oklch(96.9% 0.017 308.2);
Tailwind
colors: {
custom: {
50: '#faf6fe',
500: '#f8f2fe',
950: '#000000',
},
}SCSS
$custom: #f8f2fe; $custom-light: #faf6fe; $custom-dark: #000000;
JSON
{
"hex": "#f8f2fe",
"rgb": {
"r": 248,
"g": 242,
"b": 254
},
"hsl": {
"h": 270,
"s": 85.714,
"l": 97.255
},
"oklch": {
"l": 0.96923,
"c": 0.01707,
"h": 308.2
},
"luminance": 0.90616
}Semantic roles & 50–950 ramp
primary
#F8F2FE
secondary
#CAEAAA
accent
#E20373
background
#FFFFFF
surface
#FFFEFF
border
#D7D6D7
text
#171717
muted
#858585