#F0E2FE#F0E2FE

#F0E2FE is a very light, muted violet. Relative luminance 0.801; OKLCH L 93.2% C 0.040 H 308.0°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#F0E2FE
RGBrgb(240, 226, 254)
HSLhsl(270, 93%, 94%)
HSVhsv(270, 11%, 100%)
CMYKcmyk(5.5%, 11%, 0%, 0.4%)
CIE-LABlab(91.72, 9.78, -11.83)
CIE-LCHlch(91.72, 15.35, 309.57°)
OKLaboklab(93.23% 0.0248 -0.0317)
OKLCHoklch(93.23% 0.04 308)
XYZxyz(81.0178, 80.0740, 104.9344)
Luminance0.8007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0E2FE #F0FEE2
analogous
#E2E2FE #F0E2FE #FEE2FE
triadic
#F0E2FE #FEF0E2 #E2FEF0
tetradic
#F0E2FE #FEE2E2 #F0FEE2 #E2FEFE
square
#F0E2FE #FEE2E2 #F0FEE2 #E2FEFE
split-complementary
#F0E2FE #FEFEE2 #E2FEE2
monochromatic
#B36CFA #D1A7FC #F0E1FE #F0E1FE #F0E1FE

Accessibility & contrast

On white

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

On black

17.01
#F0E2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0E2FE
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0E2FE#FFFFFF#000000##000000
##F0E2FE1.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f0e2fe;
/* rgb */ color: rgb(240, 226, 254);
/* oklch */ color: oklch(93.2% 0.040 308.0);
Tailwind
colors: {
  custom: {
    50: '#f5ebfe',
    500: '#f0e2fe',
    950: '#000000',
  },
}
SCSS
$custom: #f0e2fe;
$custom-light: #f5ebfe;
$custom-dark: #000000;
JSON
{
  "hex": "#f0e2fe",
  "rgb": {
    "r": 240,
    "g": 226,
    "b": 254
  },
  "hsl": {
    "h": 270,
    "s": 93.333,
    "l": 94.118
  },
  "oklch": {
    "l": 0.93229,
    "c": 0.04023,
    "h": 308
  },
  "luminance": 0.80074
}

Semantic roles & 50–950 ramp

primary
#F0E2FE
secondary
#C2EA9A
accent
#E60073
background
#FFFEFF
surface
#FEFDFF
border
#D6D5D7
text
#171617
muted
#858485

Preview Lab

Preview with #F0E2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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