#F0E4FC#F0E4FC

#F0E4FC is a very light, muted violet. Relative luminance 0.810; OKLCH L 93.5% C 0.034 H 308.1°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#F0E4FC
RGBrgb(240, 228, 252)
HSLhsl(270, 80%, 94%)
HSVhsv(270, 10%, 99%)
CMYKcmyk(4.8%, 9.5%, 0%, 1.2%)
CIE-LABlab(92.15, 8.36, -10.14)
CIE-LCHlch(92.15, 13.15, 309.50°)
OKLaboklab(93.55% 0.0212 -0.0271)
OKLCHoklch(93.55% 0.034 308.1)
XYZxyz(81.2462, 81.0406, 103.4388)
Luminance0.8104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E4FC #F0FCE4
analogous
#E4E4FC #F0E4FC #FCE4FC
triadic
#F0E4FC #FCF0E4 #E4FCF0
tetradic
#F0E4FC #FCE4E4 #F0FCE4 #E4FCFC
square
#F0E4FC #FCE4E4 #F0FCE4 #E4FCFC
split-complementary
#F0E4FC #FCFCE4 #E4FCE4
monochromatic
#B376F0 #D1ADF6 #F0E3FC #F0E3FC #F0E3FC

Accessibility & contrast

On white

1.22
#F0E4FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.21
#F0E4FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E4FC
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E4FC#FFFFFF#000000##000000
##F0E4FC1.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1E8FD
Deuteranopia (green-blind)
#E3E9FB
Tritanopia (blue-blind)
#EFE7EC
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f0e4fc;
/* rgb */ color: rgb(240, 228, 252);
/* oklch */ color: oklch(93.5% 0.034 308.1);
Tailwind
colors: {
  custom: {
    50: '#f5ecfd',
    500: '#f0e4fc',
    950: '#000000',
  },
}
SCSS
$custom: #f0e4fc;
$custom-light: #f5ecfd;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e4fc",
  "rgb": {
    "r": 240,
    "g": 228,
    "b": 252
  },
  "hsl": {
    "h": 270,
    "s": 80,
    "l": 94.118
  },
  "oklch": {
    "l": 0.93547,
    "c": 0.03446,
    "h": 308.1
  },
  "luminance": 0.8104
}

Semantic roles & 50–950 ramp

primary
#F0E4FC
secondary
#C2E4A0
accent
#DC0973
background
#FFFEFF
surface
#FEFDFF
border
#D6D5D7
text
#171617
muted
#858485

Preview Lab

Preview with #F0E4FC

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

Preview Lab → · Contrast checker → · Palette generator →

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