#FAF7FB#FAF7FB

#FAF7FB is a very light, near-neutral purple. Relative luminance 0.938; OKLCH L 98.0% C 0.006 H 317.8°. Best body text is #000000 at 19.76:1 contrast (WCAG AA passes).

Color values

HEX#FAF7FB
RGBrgb(250, 247, 251)
HSLhsl(285, 33%, 98%)
HSVhsv(285, 2%, 98%)
CMYKcmyk(0.4%, 1.6%, 0%, 1.6%)
CIE-LABlab(97.56, 1.70, -1.56)
CIE-LCHlch(97.56, 2.31, 317.36°)
OKLaboklab(97.96% 0.0046 -0.0041)
OKLCHoklch(97.96% 0.006 317.8)
XYZxyz(90.0948, 93.8107, 104.6090)
Luminance0.9381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF7FB #F8FBF7
analogous
#F8F7FB #FAF7FB #FBF7FA
triadic
#FAF7FB #FBFAF7 #F7FBFA
tetradic
#FAF7FB #FBF8F7 #F8FBF7 #F7FAFB
square
#FAF7FB #FBF8F7 #F8FBF7 #F7FAFB
split-complementary
#FAF7FB #FAFBF7 #F7FBF8
monochromatic
#C7A5D2 #E0CEE7 #F2EBF5 #F2EBF5 #F2EBF5

Accessibility & contrast

On white

1.06
#FAF7FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.76
#FAF7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF7FB
19.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF7FB#FFFFFF#000000##000000
##FAF7FB1.001.0619.7619.76
#FFFFFF1.061.0021.0021.00
#00000019.7621.001.001.00
##00000019.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7F8FB
Deuteranopia (green-blind)
#F7F8FB
Tritanopia (blue-blind)
#FAF7F8
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #faf7fb;
/* rgb */ color: rgb(250, 247, 251);
/* oklch */ color: oklch(98.0% 0.006 317.8);
Tailwind
colors: {
  custom: {
    50: '#fcf9fc',
    500: '#faf7fb',
    950: '#000000',
  },
}
SCSS
$custom: #faf7fb;
$custom-light: #fcf9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#faf7fb",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 251
  },
  "hsl": {
    "h": 285,
    "s": 33.333,
    "l": 97.647
  },
  "oklch": {
    "l": 0.97956,
    "c": 0.00614,
    "h": 317.8
  },
  "luminance": 0.93811
}

Semantic roles & 50–950 ramp

primary
#FAF7FB
secondary
#C5D7BF
accent
#AC3956
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#171717
muted
#858585

Preview Lab

Preview with #FAF7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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