#FAF8FB#FAF8FB
#FAF8FB is a very light, near-neutral purple. Relative luminance 0.944; OKLCH L 98.2% C 0.004 H 314.8°. Best body text is #000000 at 19.88:1 contrast (WCAG AA passes).
Color values
| HEX | #FAF8FB |
|---|---|
| RGB | rgb(250, 248, 251) |
| HSL | hsl(280, 27%, 98%) |
| HSV | hsv(280, 1%, 98%) |
| CMYK | cmyk(0.4%, 1.2%, 0%, 1.6%) |
| CIE-LAB | lab(97.80, 1.19, -1.20) |
| CIE-LCH | lch(97.80, 1.69, 314.71°) |
| OKLab | oklab(98.15% 0.0032 -0.0032) |
| OKLCH | oklch(98.15% 0.004 314.8) |
| XYZ | xyz(90.4014, 94.4239, 104.7112) |
| Luminance | 0.9442 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Pale Grey
#FDFDFE
ΔE00 1.83
Snow
#FFFAFA
ΔE00 1.89
Ghostwhite
#F8F8FF
ΔE00 1.96
Whitesmoke
#F5F5F5
ΔE00 2.18
White
#FFFFFF
ΔE00 2.41
Off White
#FAF9F6
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FAF8FB #F9FBF8
analogous
#F8F8FB #FAF8FB #FBF8FA
triadic
#FAF8FB #FBFAF8 #F8FBFA
tetradic
#FAF8FB #FBF8F8 #F9FBF8 #F8FAFB
square
#FAF8FB #FBF8F8 #F9FBF8 #F8FAFB
split-complementary
#FAF8FB #FAFBF8 #F8FBF8
monochromatic
#C2AACE #DED1E5 #F1ECF4 #F1ECF4 #F1ECF4
Accessibility & contrast
On white
1.06
#FAF8FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.88
#FAF8FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FAF8FB
19.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FAF8FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FAF8FB | 1.00 | 1.06 | 19.88 | 19.88 |
| #FFFFFF | 1.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F8F9FB
Deuteranopia (green-blind)
#F8F9FB
Tritanopia (blue-blind)
#FAF8F9
Achromatopsia (no color)
#F9F9F9
Design tokens & code
CSS
--color: #faf8fb; /* rgb */ color: rgb(250, 248, 251); /* oklch */ color: oklch(98.2% 0.004 314.8);
Tailwind
colors: {
custom: {
50: '#fbfafc',
500: '#faf8fb',
950: '#000000',
},
}SCSS
$custom: #faf8fb; $custom-light: #fbfafc; $custom-dark: #000000;
JSON
{
"hex": "#faf8fb",
"rgb": {
"r": 250,
"g": 248,
"b": 251
},
"hsl": {
"h": 280,
"s": 27.273,
"l": 97.843
},
"oklch": {
"l": 0.9815,
"c": 0.00447,
"h": 314.8
},
"luminance": 0.94424
}Semantic roles & 50–950 ramp
primary
#FAF8FB
secondary
#C8D5C2
accent
#A64062
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#171717
muted
#858585