#FAF7FE#FAF7FE

#FAF7FE is a very light, near-neutral violet. Relative luminance 0.940; OKLCH L 98.0% C 0.010 H 305.4°. Best body text is #000000 at 19.80:1 contrast (WCAG AA passes).

Color values

HEX#FAF7FE
RGBrgb(250, 247, 254)
HSLhsl(266, 78%, 98%)
HSVhsv(266, 3%, 100%)
CMYKcmyk(1.6%, 2.8%, 0%, 0.4%)
CIE-LABlab(97.63, 2.23, -3.00)
CIE-LCHlch(97.63, 3.74, 306.66°)
OKLaboklab(98.04% 0.0056 -0.0079)
OKLCHoklch(98.04% 0.01 305.4)
XYZxyz(90.5715, 94.0013, 107.1193)
Luminance0.9400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF7FE #FBFEF7
analogous
#F7F7FE #FAF7FE #FDF7FE
triadic
#FAF7FE #FEFAF7 #F7FEFA
tetradic
#FAF7FE #FEF7F7 #FBFEF7 #F7FEFD
square
#FAF7FE #FEF7F7 #FBFEF7 #F7FEFD
split-complementary
#FAF7FE #FEFDF7 #F7FEF7
monochromatic
#B68AF0 #D8C1F7 #EEE4FC #EEE4FC #EEE4FC

Accessibility & contrast

On white

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

On black

19.80
#FAF7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF7FE
19.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF7FE#FFFFFF#000000##000000
##FAF7FE1.001.0619.8019.80
#FFFFFF1.061.0021.0021.00
#00000019.8021.001.001.00
##00000019.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6F8FE
Deuteranopia (green-blind)
#F6F8FE
Tritanopia (blue-blind)
#FAF8F9
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #faf7fe;
/* rgb */ color: rgb(250, 247, 254);
/* oklch */ color: oklch(98.0% 0.010 305.4);
Tailwind
colors: {
  custom: {
    50: '#fcf9fe',
    500: '#faf7fe',
    950: '#000000',
  },
}
SCSS
$custom: #faf7fe;
$custom-light: #fcf9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#faf7fe",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 254
  },
  "hsl": {
    "h": 265.714,
    "s": 77.778,
    "l": 98.235
  },
  "oklch": {
    "l": 0.98042,
    "c": 0.00975,
    "h": 305.4
  },
  "luminance": 0.94001
}

Semantic roles & 50–950 ramp

primary
#FAF7FE
secondary
#D1E8B1
accent
#DA0B82
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#171717
muted
#858585

Preview Lab

Preview with #FAF7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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