#F0D4FF#F0D4FF

#F0D4FF is a very light, moderate violet. Relative luminance 0.728; OKLCH L 90.6% C 0.065 H 313.9°. Best body text is #000000 at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#F0D4FF
RGBrgb(240, 212, 255)
HSLhsl(279, 100%, 92%)
HSVhsv(279, 17%, 100%)
CMYKcmyk(5.9%, 16.9%, 0%, 0%)
CIE-LABlab(88.37, 17.31, -17.37)
CIE-LCHlch(88.37, 24.52, 314.89°)
OKLaboklab(90.64% 0.045 -0.0468)
OKLCHoklch(90.64% 0.065 313.9)
XYZxyz(77.5258, 72.8329, 104.5624)
Luminance0.7283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D4FF #E3FFD4
analogous
#DBD4FF #F0D4FF #FFD4F9
triadic
#F0D4FF #FFF0D4 #D4FFF0
tetradic
#F0D4FF #FFDBD4 #E3FFD4 #D4F9FF
square
#F0D4FF #FFDBD4 #E3FFD4 #D4F9FF
split-complementary
#F0D4FF #F9FFD4 #D4FFDB
monochromatic
#C55AFF #DB97FF #F0D4FF #F4E0FF #F4E0FF

Accessibility & contrast

On white

1.35
#F0D4FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.57
#F0D4FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D4FF
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D4FF#FFFFFF#000000##000000
##F0D4FF1.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFDCFF
Deuteranopia (green-blind)
#D4DFFE
Tritanopia (blue-blind)
#EFD9E2
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f0d4ff;
/* rgb */ color: rgb(240, 212, 255);
/* oklch */ color: oklch(90.6% 0.065 313.9);
Tailwind
colors: {
  custom: {
    50: '#f5e1ff',
    500: '#f0d4ff',
    950: '#000000',
  },
}
SCSS
$custom: #f0d4ff;
$custom-light: #f5e1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d4ff",
  "rgb": {
    "r": 240,
    "g": 212,
    "b": 255
  },
  "hsl": {
    "h": 279.07,
    "s": 100,
    "l": 91.569
  },
  "oklch": {
    "l": 0.90635,
    "c": 0.06492,
    "h": 313.9
  },
  "luminance": 0.72832
}

Semantic roles & 50–950 ramp

primary
#F0D4FF
secondary
#ADEB8C
accent
#E60050
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#171518
muted
#858486

Preview Lab

Preview with #F0D4FF

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

Preview Lab → · Contrast checker → · Palette generator →

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