#F8F7FA#F8F7FA

#F8F7FA is a very light, near-neutral violet. Relative luminance 0.934; OKLCH L 97.8% C 0.004 H 301.4°. Best body text is #000000 at 19.68:1 contrast (WCAG AA passes).

Color values

HEX#F8F7FA
RGBrgb(248, 247, 250)
HSLhsl(260, 23%, 97%)
HSVhsv(260, 1%, 98%)
CMYKcmyk(0.8%, 1.2%, 0%, 2%)
CIE-LABlab(97.38, 0.86, -1.32)
CIE-LCHlch(97.38, 1.58, 303.11°)
OKLaboklab(97.78% 0.0021 -0.0035)
OKLCHoklch(97.78% 0.004 301.4)
XYZxyz(89.2246, 93.3801, 103.7476)
Luminance0.9338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F7FA #F9FAF7
analogous
#F7F8FA #F8F7FA #FAF7FA
triadic
#F8F7FA #FAF8F7 #F7FAF8
tetradic
#F8F7FA #FAF7F8 #F9FAF7 #F7FAFA
square
#F8F7FA #FAF7F8 #F9FAF7 #F7FAFA
split-complementary
#F8F7FA #FAFAF7 #F8FAF7
monochromatic
#B6ACCB #D7D1E2 #EFECF3 #EFECF3 #EFECF3

Accessibility & contrast

On white

1.07
#F8F7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.68
#F8F7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F7FA
19.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F7FA#FFFFFF#000000##000000
##F8F7FA1.001.0719.6819.68
#FFFFFF1.071.0021.0021.00
#00000019.6821.001.001.00
##00000019.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7F7FA
Deuteranopia (green-blind)
#F7F7FA
Tritanopia (blue-blind)
#F8F7F8
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #f8f7fa;
/* rgb */ color: rgb(248, 247, 250);
/* oklch */ color: oklch(97.8% 0.004 301.4);
Tailwind
colors: {
  custom: {
    50: '#faf9fb',
    500: '#f8f7fa',
    950: '#000000',
  },
}
SCSS
$custom: #f8f7fa;
$custom-light: #faf9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f7fa",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 250
  },
  "hsl": {
    "h": 260,
    "s": 23.077,
    "l": 97.451
  },
  "oklch": {
    "l": 0.97775,
    "c": 0.00409,
    "h": 301.4
  },
  "luminance": 0.9338
}

Semantic roles & 50–950 ramp

primary
#F8F7FA
secondary
#CDD3C2
accent
#A24482
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#171717
muted
#858585

Preview Lab

Preview with #F8F7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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