#F0DCF2#F0DCF2

#F0DCF2 is a very light, muted purple. Relative luminance 0.761; OKLCH L 91.7% C 0.036 H 323.1°. Best body text is #000000 at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#F0DCF2
RGBrgb(240, 220, 242)
HSLhsl(295, 46%, 91%)
HSVhsv(295, 9%, 95%)
CMYKcmyk(0.8%, 9.1%, 0%, 5.1%)
CIE-LABlab(89.92, 10.69, -8.22)
CIE-LCHlch(89.92, 13.48, 322.42°)
OKLaboklab(91.71% 0.0291 -0.0219)
OKLCHoklch(91.71% 0.036 323.1)
XYZxyz(77.5530, 76.1232, 94.5949)
Luminance0.7612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DCF2 #DEF2DC
analogous
#E5DCF2 #F0DCF2 #F2DCE9
triadic
#F0DCF2 #F2F0DC #DCF2F0
tetradic
#F0DCF2 #F2E5DC #DEF2DC #DCE9F2
square
#F0DCF2 #F2E5DC #DEF2DC #DCE9F2
split-complementary
#F0DCF2 #E9F2DC #DCF2E5
monochromatic
#CA83D1 #DDAFE1 #F0DCF2 #F5E9F7 #F5E9F7

Accessibility & contrast

On white

1.29
#F0DCF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.22
#F0DCF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DCF2
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DCF2#FFFFFF#000000##000000
##F0DCF21.001.2916.2216.22
#FFFFFF1.291.0021.0021.00
#00000016.2221.001.001.00
##00000016.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAE1F3
Deuteranopia (green-blind)
#DEE3F1
Tritanopia (blue-blind)
#F1DEE3
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f0dcf2;
/* rgb */ color: rgb(240, 220, 242);
/* oklch */ color: oklch(91.7% 0.036 323.1);
Tailwind
colors: {
  custom: {
    50: '#f5e6f6',
    500: '#f0dcf2',
    950: '#000000',
  },
}
SCSS
$custom: #f0dcf2;
$custom-light: #f5e6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dcf2",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 242
  },
  "hsl": {
    "h": 294.545,
    "s": 45.833,
    "l": 90.588
  },
  "oklch": {
    "l": 0.91712,
    "c": 0.03642,
    "h": 323.1
  },
  "luminance": 0.76122
}

Semantic roles & 50–950 ramp

primary
#F0DCF2
secondary
#A7D0A3
accent
#B92C39
background
#FFFEFF
surface
#FEFCFE
border
#D6D5D6
text
#171617
muted
#858485

Preview Lab

Preview with #F0DCF2

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

Preview Lab → · Contrast checker → · Palette generator →

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