#F0DEFF#F0DEFF

#F0DEFF is a very light, muted violet. Relative luminance 0.780; OKLCH L 92.5% C 0.048 H 309.8°. Best body text is #000000 at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#F0DEFF
RGBrgb(240, 222, 255)
HSLhsl(273, 100%, 94%)
HSVhsv(273, 13%, 100%)
CMYKcmyk(5.9%, 12.9%, 0%, 0%)
CIE-LABlab(90.77, 12.05, -13.76)
CIE-LCHlch(90.77, 18.30, 311.21°)
OKLaboklab(92.5% 0.0308 -0.037)
OKLCHoklch(92.5% 0.048 309.8)
XYZxyz(80.1034, 77.9882, 105.4216)
Luminance0.7799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0DEFF #EDFFDE
analogous
#DFDEFF #F0DEFF #FFDEFE
triadic
#F0DEFF #FFF0DE #DEFFF0
tetradic
#F0DEFF #FFDFDE #EDFFDE #DEFEFF
square
#F0DEFF #FFDFDE #EDFFDE #DEFEFF
split-complementary
#F0DEFF #FEFFDE #DEFFDF
monochromatic
#B864FF #D4A1FF #F0DEFF #F1E0FF #F1E0FF

Accessibility & contrast

On white

1.27
#F0DEFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.60
#F0DEFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0DEFF
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0DEFF#FFFFFF#000000##000000
##F0DEFF1.001.2716.6016.60
#FFFFFF1.271.0021.0021.00
#00000016.6021.001.001.00
##00000016.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9E4FF
Deuteranopia (green-blind)
#DDE5FE
Tritanopia (blue-blind)
#EFE2E9
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f0deff;
/* rgb */ color: rgb(240, 222, 255);
/* oklch */ color: oklch(92.5% 0.048 309.8);
Tailwind
colors: {
  custom: {
    50: '#f5e8ff',
    500: '#f0deff',
    950: '#000000',
  },
}
SCSS
$custom: #f0deff;
$custom-light: #f5e8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f0deff",
  "rgb": {
    "r": 240,
    "g": 222,
    "b": 255
  },
  "hsl": {
    "h": 272.727,
    "s": 100,
    "l": 93.529
  },
  "oklch": {
    "l": 0.92503,
    "c": 0.04809,
    "h": 309.8
  },
  "luminance": 0.77988
}

Semantic roles & 50–950 ramp

primary
#F0DEFF
secondary
#BDEC95
accent
#E60068
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#171618
muted
#858486

Preview Lab

Preview with #F0DEFF

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

Preview Lab → · Contrast checker → · Palette generator →

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