#F0E2FF#F0E2FF

#F0E2FF is a very light, muted violet. Relative luminance 0.801; OKLCH L 93.3% C 0.041 H 307.2°. Best body text is #000000 at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#F0E2FF
RGBrgb(240, 226, 255)
HSLhsl(269, 100%, 94%)
HSVhsv(269, 11%, 100%)
CMYKcmyk(5.9%, 11.4%, 0%, 0%)
CIE-LABlab(91.75, 9.97, -12.31)
CIE-LCHlch(91.75, 15.84, 308.99°)
OKLaboklab(93.26% 0.0251 -0.033)
OKLCHoklch(93.26% 0.041 307.2)
XYZxyz(81.1784, 80.1382, 105.7799)
Luminance0.8014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E2FF #F1FFE2
analogous
#E2E3FF #F0E2FF #FFE2FF
triadic
#F0E2FF #FFF0E2 #E2FFF0
tetradic
#F0E2FF #FFE2E3 #F1FFE2 #E2FFFF
square
#F0E2FF #FFE2E3 #F1FFE2 #E2FFFF
split-complementary
#F0E2FF #FFFFE2 #E3FFE2
monochromatic
#B168FF #D0A5FF #EFE0FF #EFE0FF #EFE0FF

Accessibility & contrast

On white

1.23
#F0E2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.03
#F0E2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E2FF
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E2FF#FFFFFF#000000##000000
##F0E2FF1.001.2317.0317.03
#FFFFFF1.231.0021.0021.00
#00000017.0321.001.001.00
##00000017.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEE7FF
Deuteranopia (green-blind)
#E0E7FE
Tritanopia (blue-blind)
#EEE5EB
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f0e2ff;
/* rgb */ color: rgb(240, 226, 255);
/* oklch */ color: oklch(93.3% 0.041 307.2);
Tailwind
colors: {
  custom: {
    50: '#f5ebff',
    500: '#f0e2ff',
    950: '#000000',
  },
}
SCSS
$custom: #f0e2ff;
$custom-light: #f5ebff;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e2ff",
  "rgb": {
    "r": 240,
    "g": 226,
    "b": 255
  },
  "hsl": {
    "h": 268.966,
    "s": 100,
    "l": 94.314
  },
  "oklch": {
    "l": 0.93261,
    "c": 0.04148,
    "h": 307.2
  },
  "luminance": 0.80138
}

Semantic roles & 50–950 ramp

primary
#F0E2FF
secondary
#C4ED98
accent
#E60077
background
#FFFEFF
surface
#FEFDFF
border
#D6D5D7
text
#171618
muted
#858486

Preview Lab

Preview with #F0E2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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