#F0DCFF#F0DCFF

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

Color values

HEX#F0DCFF
RGBrgb(240, 220, 255)
HSLhsl(274, 100%, 93%)
HSVhsv(274, 14%, 100%)
CMYKcmyk(5.9%, 13.7%, 0%, 0%)
CIE-LABlab(90.29, 13.10, -14.49)
CIE-LCHlch(90.29, 19.53, 312.12°)
OKLaboklab(92.13% 0.0336 -0.0389)
OKLCHoklch(92.13% 0.051 310.8)
XYZxyz(79.5753, 76.9321, 105.2456)
Luminance0.7693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DCFF #EBFFDC
analogous
#DEDCFF #F0DCFF #FFDCFC
triadic
#F0DCFF #FFF0DC #DCFFF0
tetradic
#F0DCFF #FFDEDC #EBFFDC #DCFCFF
square
#F0DCFF #FFDEDC #EBFFDC #DCFCFF
split-complementary
#F0DCFF #FCFFDC #DCFFDE
monochromatic
#BC62FF #D69FFF #F0DCFF #F2E0FF #F2E0FF

Accessibility & contrast

On white

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

On black

16.39
#F0DCFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DCFF
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DCFF#FFFFFF#000000##000000
##F0DCFF1.001.2816.3916.39
#FFFFFF1.281.0021.0021.00
#00000016.3921.001.001.00
##00000016.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0dcff;
/* rgb */ color: rgb(240, 220, 255);
/* oklch */ color: oklch(92.1% 0.051 310.8);
Tailwind
colors: {
  custom: {
    50: '#f5e6ff',
    500: '#f0dcff',
    950: '#000000',
  },
}
SCSS
$custom: #f0dcff;
$custom-light: #f5e6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f0dcff",
  "rgb": {
    "r": 240,
    "g": 220,
    "b": 255
  },
  "hsl": {
    "h": 274.286,
    "s": 100,
    "l": 93.137
  },
  "oklch": {
    "l": 0.92127,
    "c": 0.05142,
    "h": 310.8
  },
  "luminance": 0.76932
}

Semantic roles & 50–950 ramp

primary
#F0DCFF
secondary
#B9EC93
accent
#E60062
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#171618
muted
#858486

Preview Lab

Preview with #F0DCFF

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

Preview Lab → · Contrast checker → · Palette generator →

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