#E4DEF2#E4DEF2

#E4DEF2 is a very light, muted violet. Relative luminance 0.751; OKLCH L 91.1% C 0.028 H 299.5°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#E4DEF2
RGBrgb(228, 222, 242)
HSLhsl(258, 43%, 91%)
HSVhsv(258, 8%, 95%)
CMYKcmyk(5.8%, 8.3%, 0%, 5.1%)
CIE-LABlab(89.46, 5.69, -9.00)
CIE-LCHlch(89.46, 10.65, 302.29°)
OKLaboklab(91.13% 0.0136 -0.0241)
OKLCHoklch(91.13% 0.028 299.5)
XYZxyz(74.1403, 75.1473, 94.5862)
Luminance0.7515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DEF2 #ECF2DE
analogous
#DEE2F2 #E4DEF2 #EEDEF2
triadic
#E4DEF2 #F2E4DE #DEF2E4
tetradic
#E4DEF2 #F2DEE2 #ECF2DE #DEF2EE
square
#E4DEF2 #F2DEE2 #ECF2DE #DEF2EE
split-complementary
#E4DEF2 #F2EEDE #E2F2DE
monochromatic
#9C86CF #C0B2E1 #E4DEF2 #EDE9F6 #EDE9F6

Accessibility & contrast

On white

1.31
#E4DEF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.03
#E4DEF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DEF2
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DEF2#FFFFFF#000000##000000
##E4DEF21.001.3116.0316.03
#FFFFFF1.311.0021.0021.00
#00000016.0321.001.001.00
##00000016.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBE1F3
Deuteranopia (green-blind)
#DBE1F1
Tritanopia (blue-blind)
#E2E1E4
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e4def2;
/* rgb */ color: rgb(228, 222, 242);
/* oklch */ color: oklch(91.1% 0.028 299.5);
Tailwind
colors: {
  custom: {
    50: '#ece8f6',
    500: '#e4def2',
    950: '#000000',
  },
}
SCSS
$custom: #e4def2;
$custom-light: #ece8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e4def2",
  "rgb": {
    "r": 228,
    "g": 222,
    "b": 242
  },
  "hsl": {
    "h": 258,
    "s": 43.478,
    "l": 90.98
  },
  "oklch": {
    "l": 0.91127,
    "c": 0.02768,
    "h": 299.5
  },
  "luminance": 0.75147
}

Semantic roles & 50–950 ramp

primary
#E4DEF2
secondary
#C2CFA5
accent
#B72F8E
background
#FEFEFF
surface
#FDFCFE
border
#D5D5D6
text
#161617
muted
#848485

Preview Lab

Preview with #E4DEF2

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

Preview Lab → · Contrast checker → · Palette generator →

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