#FAF7FF#FAF7FF

#FAF7FF is a very light, near-neutral violet. Relative luminance 0.941; OKLCH L 98.1% C 0.011 H 303.1°. Best body text is #000000 at 19.81:1 contrast (WCAG AA passes).

Color values

HEX#FAF7FF
RGBrgb(250, 247, 255)
HSLhsl(263, 100%, 98%)
HSVhsv(263, 3%, 100%)
CMYKcmyk(2%, 3.1%, 0%, 0%)
CIE-LABlab(97.66, 2.41, -3.47)
CIE-LCHlch(97.66, 4.23, 304.75°)
OKLaboklab(98.07% 0.006 -0.0092)
OKLCHoklch(98.07% 0.011 303.1)
XYZxyz(90.7320, 94.0655, 107.9649)
Luminance0.9407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF7FF #FCFFF7
analogous
#F7F8FF #FAF7FF #FEF7FF
triadic
#FAF7FF #FFFAF7 #F7FFFA
tetradic
#FAF7FF #FFF7F8 #FCFFF7 #F7FFFE
square
#FAF7FF #FFF7F8 #FCFFF7 #F7FFFE
split-complementary
#FAF7FF #FFFEF7 #F8FFF7
monochromatic
#AD7DFF #D4BAFF #ECE0FF #ECE0FF #ECE0FF

Accessibility & contrast

On white

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

On black

19.81
#FAF7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF7FF
19.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF7FF#FFFFFF#000000##000000
##FAF7FF1.001.0619.8119.81
#FFFFFF1.061.0021.0021.00
#00000019.8121.001.001.00
##00000019.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6F8FF
Deuteranopia (green-blind)
#F6F8FF
Tritanopia (blue-blind)
#F9F8F9
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #faf7ff;
/* rgb */ color: rgb(250, 247, 255);
/* oklch */ color: oklch(98.1% 0.011 303.1);
Tailwind
colors: {
  custom: {
    50: '#fcf9ff',
    500: '#faf7ff',
    950: '#000000',
  },
}
SCSS
$custom: #faf7ff;
$custom-light: #fcf9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#faf7ff",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 255
  },
  "hsl": {
    "h": 262.5,
    "s": 100,
    "l": 98.431
  },
  "oklch": {
    "l": 0.98071,
    "c": 0.01101,
    "h": 303.1
  },
  "luminance": 0.94066
}

Semantic roles & 50–950 ramp

primary
#FAF7FF
secondary
#D6F0AA
accent
#E6008F
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#171718
muted
#858586

Preview Lab

Preview with #FAF7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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