#F0DCFE#F0DCFE

#F0DCFE is a very light, muted violet. Relative luminance 0.769; OKLCH L 92.1% C 0.050 H 311.5°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#F0DCFE
RGBrgb(240, 220, 254)
HSLhsl(275, 94%, 93%)
HSVhsv(275, 13%, 100%)
CMYKcmyk(5.5%, 13.4%, 0%, 0.4%)
CIE-LABlab(90.26, 12.91, -14.01)
CIE-LCHlch(90.26, 19.05, 312.67°)
OKLaboklab(92.09% 0.0333 -0.0376)
OKLCHoklch(92.09% 0.05 311.5)
XYZxyz(79.4148, 76.8679, 104.4000)
Luminance0.7687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DCFE #EAFEDC
analogous
#DFDCFE #F0DCFE #FEDCFB
triadic
#F0DCFE #FEF0DC #DCFEF0
tetradic
#F0DCFE #FEDFDC #EAFEDC #DCFBFE
square
#F0DCFE #FEDFDC #EAFEDC #DCFBFE
split-complementary
#F0DCFE #FBFEDC #DCFEDF
monochromatic
#BD65FB #D6A0FC #F0DCFE #F2E1FE #F2E1FE

Accessibility & contrast

On white

1.28
#F0DCFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.37
#F0DCFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DCFE
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DCFE#FFFFFF#000000##000000
##F0DCFE1.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7E2FF
Deuteranopia (green-blind)
#DBE4FD
Tritanopia (blue-blind)
#EFE0E7
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f0dcfe;
/* rgb */ color: rgb(240, 220, 254);
/* oklch */ color: oklch(92.1% 0.050 311.5);
Tailwind
colors: {
  custom: {
    50: '#f5e6fe',
    500: '#f0dcfe',
    950: '#000000',
  },
}
SCSS
$custom: #f0dcfe;
$custom-light: #f5e6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dcfe",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 254
  },
  "hsl": {
    "h": 275.294,
    "s": 94.444,
    "l": 92.941
  },
  "oklch": {
    "l": 0.92094,
    "c": 0.05021,
    "h": 311.5
  },
  "luminance": 0.76867
}

Semantic roles & 50–950 ramp

primary
#F0DCFE
secondary
#B8E995
accent
#E6005F
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#171617
muted
#858485

Preview Lab

Preview with #F0DCFE

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

Preview Lab → · Contrast checker → · Palette generator →

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