#F5DEF2#F5DEF2

#F5DEF2 is a very light, muted purple. Relative luminance 0.781; OKLCH L 92.5% C 0.036 H 330.1°. Best body text is #000000 at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#F5DEF2
RGBrgb(245, 222, 242)
HSLhsl(308, 53%, 92%)
HSVhsv(308, 9%, 96%)
CMYKcmyk(0%, 9.4%, 1.2%, 3.9%)
CIE-LABlab(90.81, 11.31, -6.86)
CIE-LCHlch(90.81, 13.22, 328.77°)
OKLaboklab(92.51% 0.0315 -0.0182)
OKLCHoklch(92.51% 0.036 330.1)
XYZxyz(79.8023, 78.0668, 94.8516)
Luminance0.7807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DEF2 #DEF5E1
analogous
#EDDEF5 #F5DEF2 #F5DEE7
triadic
#F5DEF2 #F2F5DE #DEF2F5
tetradic
#F5DEF2 #F5EDDE #DEF5E1 #DEE7F5
square
#F5DEF2 #F5EDDE #DEF5E1 #DEE7F5
split-complementary
#F5DEF2 #E7F5DE #DEF5ED
monochromatic
#D980CD #E7AFDF #F5DEF2 #F8E8F6 #F8E8F6

Accessibility & contrast

On white

1.26
#F5DEF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.61
#F5DEF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DEF2
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DEF2#FFFFFF#000000##000000
##F5DEF21.001.2616.6116.61
#FFFFFF1.261.0021.0021.00
#00000016.6121.001.001.00
##00000016.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDE3F3
Deuteranopia (green-blind)
#E2E6F1
Tritanopia (blue-blind)
#F7DFE4
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f5def2;
/* rgb */ color: rgb(245, 222, 242);
/* oklch */ color: oklch(92.5% 0.036 330.1);
Tailwind
colors: {
  custom: {
    50: '#f8e8f6',
    500: '#f5def2',
    950: '#000000',
  },
}
SCSS
$custom: #f5def2;
$custom-light: #f8e8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f5def2",
  "rgb": {
    "r": 245,
    "g": 222,
    "b": 242
  },
  "hsl": {
    "h": 307.826,
    "s": 53.488,
    "l": 91.569
  },
  "oklch": {
    "l": 0.92507,
    "c": 0.03639,
    "h": 330.1
  },
  "luminance": 0.78066
}

Semantic roles & 50–950 ramp

primary
#F5DEF2
secondary
#A2D5A9
accent
#C13925
background
#FFFEFF
surface
#FFFCFE
border
#D7D5D6
text
#171617
muted
#858485

Preview Lab

Preview with #F5DEF2

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

Preview Lab → · Contrast checker → · Palette generator →

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