#F8DEF7#F8DEF7

#F8DEF7 is a very light, muted purple. Relative luminance 0.789; OKLCH L 92.9% C 0.043 H 327.1°. Best body text is #000000 at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#F8DEF7
RGBrgb(248, 222, 247)
HSLhsl(302, 65%, 92%)
HSVhsv(302, 10%, 97%)
CMYKcmyk(0%, 10.5%, 0.4%, 2.7%)
CIE-LABlab(91.20, 13.20, -8.88)
CIE-LCHlch(91.20, 15.90, 326.07°)
OKLaboklab(92.91% 0.0365 -0.0236)
OKLCHoklch(92.91% 0.043 327.1)
XYZxyz(81.6189, 78.9154, 98.9102)
Luminance0.7891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DEF7 #DEF8DF
analogous
#ECDEF8 #F8DEF7 #F8DEEA
triadic
#F8DEF7 #F7F8DE #DEF7F8
tetradic
#F8DEF7 #F8ECDE #DEF8DF #DEEAF8
square
#F8DEF7 #F8ECDE #DEF8DF #DEEAF8
split-complementary
#F8DEF7 #EAF8DE #DEF8EC
monochromatic
#E379DF #EDACEB #F8DEF7 #FAE6F9 #FAE6F9

Accessibility & contrast

On white

1.25
#F8DEF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.78
#F8DEF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DEF7
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DEF7#FFFFFF#000000##000000
##F8DEF71.001.2516.7816.78
#FFFFFF1.251.0021.0021.00
#00000016.7821.001.001.00
##00000016.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDE4F8
Deuteranopia (green-blind)
#E2E7F6
Tritanopia (blue-blind)
#FAE0E6
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f8def7;
/* rgb */ color: rgb(248, 222, 247);
/* oklch */ color: oklch(92.9% 0.043 327.1);
Tailwind
colors: {
  custom: {
    50: '#fae8f9',
    500: '#f8def7',
    950: '#000000',
  },
}
SCSS
$custom: #f8def7;
$custom-light: #fae8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f8def7",
  "rgb": {
    "r": 248,
    "g": 222,
    "b": 247
  },
  "hsl": {
    "h": 302.308,
    "s": 65,
    "l": 92.157
  },
  "oklch": {
    "l": 0.92912,
    "c": 0.04343,
    "h": 327.1
  },
  "luminance": 0.78914
}

Semantic roles & 50–950 ramp

primary
#F8DEF7
secondary
#9FDBA1
accent
#CD2019
background
#FFFEFF
surface
#FFFCFF
border
#D7D5D7
text
#171617
muted
#858485

Preview Lab

Preview with #F8DEF7

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

Preview Lab → · Contrast checker → · Palette generator →

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