#E2DEF2#E2DEF2

#E2DEF2 is a very light, muted violet. Relative luminance 0.748; OKLCH L 91.0% C 0.027 H 295.0°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#E2DEF2
RGBrgb(226, 222, 242)
HSLhsl(252, 43%, 91%)
HSVhsv(252, 8%, 95%)
CMYKcmyk(6.6%, 8.3%, 0%, 5.1%)
CIE-LABlab(89.31, 5.04, -9.24)
CIE-LCHlch(89.31, 10.53, 298.58°)
OKLaboklab(90.97% 0.0116 -0.0248)
OKLCHoklch(90.97% 0.027 295)
XYZxyz(73.5093, 74.8219, 94.5566)
Luminance0.7482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DEF2 #EEF2DE
analogous
#DEE4F2 #E2DEF2 #ECDEF2
triadic
#E2DEF2 #F2E2DE #DEF2E2
tetradic
#E2DEF2 #F2DEE4 #EEF2DE #DEF2EC
square
#E2DEF2 #F2DEE4 #EEF2DE #DEF2EC
split-complementary
#E2DEF2 #F2ECDE #E4F2DE
monochromatic
#9586CF #BBB2E1 #E2DEF2 #ECE9F6 #ECE9F6

Accessibility & contrast

On white

1.32
#E2DEF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.96
#E2DEF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DEF2
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DEF2#FFFFFF#000000##000000
##E2DEF21.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAE1F3
Deuteranopia (green-blind)
#DBE0F1
Tritanopia (blue-blind)
#DFE1E4
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e2def2;
/* rgb */ color: rgb(226, 222, 242);
/* oklch */ color: oklch(91.0% 0.027 295.0);
Tailwind
colors: {
  custom: {
    50: '#ebe8f6',
    500: '#e2def2',
    950: '#000000',
  },
}
SCSS
$custom: #e2def2;
$custom-light: #ebe8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e2def2",
  "rgb": {
    "r": 226,
    "g": 222,
    "b": 242
  },
  "hsl": {
    "h": 252,
    "s": 43.478,
    "l": 90.98
  },
  "oklch": {
    "l": 0.90971,
    "c": 0.02733,
    "h": 295
  },
  "luminance": 0.74822
}

Semantic roles & 50–950 ramp

primary
#E2DEF2
secondary
#C7CFA5
accent
#B72F9B
background
#FEFEFF
surface
#FDFCFE
border
#D5D5D6
text
#161617
muted
#848485

Preview Lab

Preview with #E2DEF2

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

Preview Lab → · Contrast checker → · Palette generator →

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