#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
RGBrgb(250, 248, 251)
HSLhsl(280, 27%, 98%)
HSVhsv(280, 1%, 98%)
CMYKcmyk(0.4%, 1.2%, 0%, 1.6%)
CIE-LABlab(97.80, 1.19, -1.20)
CIE-LCHlch(97.80, 1.69, 314.71°)
OKLaboklab(98.15% 0.0032 -0.0032)
OKLCHoklch(98.15% 0.004 314.8)
XYZxyz(90.4014, 94.4239, 104.7112)
Luminance0.9442 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

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
##FAF8FB1.001.0619.8819.88
#FFFFFF1.061.0021.0021.00
#00000019.8821.001.001.00
##00000019.8821.001.001.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

Preview Lab

Preview with #FAF8FB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#FAF8FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva