#FAF8FF#FAF8FF

#FAF8FF is a very light, near-neutral violet. Relative luminance 0.947; OKLCH L 98.3% C 0.009 H 299.3°. Best body text is #000000 at 19.94:1 contrast (WCAG AA passes).

Color values

HEX#FAF8FF
RGBrgb(250, 248, 255)
HSLhsl(257, 100%, 99%)
HSVhsv(257, 3%, 100%)
CMYKcmyk(2%, 2.7%, 0%, 0%)
CIE-LABlab(97.90, 1.90, -3.11)
CIE-LCHlch(97.90, 3.65, 301.42°)
OKLaboklab(98.26% 0.0046 -0.0083)
OKLCHoklch(98.26% 0.009 299.3)
XYZxyz(91.0386, 94.6788, 108.0671)
Luminance0.9468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF8FF #FDFFF8
analogous
#F8F9FF #FAF8FF #FDF8FF
triadic
#FAF8FF #FFFAF8 #F8FFFA
tetradic
#FAF8FF #FFF8F9 #FDFFF8 #F8FFFD
square
#FAF8FF #FFF8F9 #FDFFF8 #F8FFFD
split-complementary
#FAF8FF #FFFDF8 #F9FFF8
monochromatic
#A37EFF #CEBBFF #E9E0FF #E9E0FF #E9E0FF

Accessibility & contrast

On white

1.05
#FAF8FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.94
#FAF8FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF8FF
19.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF8FF#FFFFFF#000000##000000
##FAF8FF1.001.0519.9419.94
#FFFFFF1.051.0021.0021.00
#00000019.9421.001.001.00
##00000019.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7F9FF
Deuteranopia (green-blind)
#F7F9FF
Tritanopia (blue-blind)
#F9F9FA
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #faf8ff;
/* rgb */ color: rgb(250, 248, 255);
/* oklch */ color: oklch(98.3% 0.009 299.3);
Tailwind
colors: {
  custom: {
    50: '#fcfaff',
    500: '#faf8ff',
    950: '#000000',
  },
}
SCSS
$custom: #faf8ff;
$custom-light: #fcfaff;
$custom-dark: #000000;
JSON
{
  "hex": "#faf8ff",
  "rgb": {
    "r": 250,
    "g": 248,
    "b": 255
  },
  "hsl": {
    "h": 257.143,
    "s": 100,
    "l": 98.627
  },
  "oklch": {
    "l": 0.98264,
    "c": 0.00947,
    "h": 299.3
  },
  "luminance": 0.94679
}

Semantic roles & 50–950 ramp

primary
#FAF8FF
secondary
#DCF0AB
accent
#E600A4
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#171718
muted
#858586

Preview Lab

Preview with #FAF8FF

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

Preview Lab → · Contrast checker → · Palette generator →

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