#F0D2FE#F0D2FE

#F0D2FE is a very light, moderate purple. Relative luminance 0.718; OKLCH L 90.2% C 0.067 H 315.1°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#F0D2FE
RGBrgb(240, 210, 254)
HSLhsl(281, 96%, 91%)
HSVhsv(281, 17%, 100%)
CMYKcmyk(5.5%, 17.3%, 0%, 0.4%)
CIE-LABlab(87.86, 18.17, -17.61)
CIE-LCHlch(87.86, 25.30, 315.89°)
OKLaboklab(90.23% 0.0475 -0.0474)
OKLCHoklch(90.23% 0.067 315.1)
XYZxyz(76.8683, 71.7750, 103.5512)
Luminance0.7177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D2FE #E0FED2
analogous
#DAD2FE #F0D2FE #FED2F6
triadic
#F0D2FE #FEF0D2 #D2FEF0
tetradic
#F0D2FE #FEDAD2 #E0FED2 #D2F6FE
square
#F0D2FE #FEDAD2 #E0FED2 #D2F6FE
split-complementary
#F0D2FE #F6FED2 #D2FEDA
monochromatic
#C85AFB #DC96FD #F0D2FE #F5E1FE #F5E1FE

Accessibility & contrast

On white

1.37
#F0D2FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.35
#F0D2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D2FE
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D2FE#FFFFFF#000000##000000
##F0D2FE1.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDDBFF
Deuteranopia (green-blind)
#D3DDFC
Tritanopia (blue-blind)
#F0D7E1
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f0d2fe;
/* rgb */ color: rgb(240, 210, 254);
/* oklch */ color: oklch(90.2% 0.067 315.1);
Tailwind
colors: {
  custom: {
    50: '#f5dffe',
    500: '#f0d2fe',
    950: '#000000',
  },
}
SCSS
$custom: #f0d2fe;
$custom-light: #f5dffe;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d2fe",
  "rgb": {
    "r": 240,
    "g": 210,
    "b": 254
  },
  "hsl": {
    "h": 280.909,
    "s": 95.652,
    "l": 90.98
  },
  "oklch": {
    "l": 0.90231,
    "c": 0.06715,
    "h": 315.1
  },
  "luminance": 0.71774
}

Semantic roles & 50–950 ramp

primary
#F0D2FE
secondary
#A9E88C
accent
#E60049
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#171517
muted
#858485

Preview Lab

Preview with #F0D2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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