#E8DEF2#E8DEF2

#E8DEF2 is a very light, muted violet. Relative luminance 0.758; OKLCH L 91.4% C 0.029 H 308.1°. Best body text is #000000 at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#E8DEF2
RGBrgb(232, 222, 242)
HSLhsl(270, 43%, 91%)
HSVhsv(270, 8%, 95%)
CMYKcmyk(4.1%, 8.3%, 0%, 5.1%)
CIE-LABlab(89.77, 7.00, -8.51)
CIE-LCHlch(89.77, 11.02, 309.44°)
OKLaboklab(91.44% 0.0178 -0.0227)
OKLCHoklch(91.44% 0.029 308.1)
XYZxyz(75.4243, 75.8093, 94.6464)
Luminance0.7581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DEF2 #E8F2DE
analogous
#DEDEF2 #E8DEF2 #F2DEF2
triadic
#E8DEF2 #F2E8DE #DEF2E8
tetradic
#E8DEF2 #F2DEDE #E8F2DE #DEF2F2
square
#E8DEF2 #F2DEDE #E8F2DE #DEF2F2
split-complementary
#E8DEF2 #F2F2DE #DEF2DE
monochromatic
#AB86CF #C9B2E1 #E8DEF2 #F0E9F6 #F0E9F6

Accessibility & contrast

On white

1.30
#E8DEF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.16
#E8DEF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DEF2
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DEF2#FFFFFF#000000##000000
##E8DEF21.001.3016.1616.16
#FFFFFF1.301.0021.0021.00
#00000016.1621.001.001.00
##00000016.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBE1F3
Deuteranopia (green-blind)
#DDE2F1
Tritanopia (blue-blind)
#E7E0E4
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e8def2;
/* rgb */ color: rgb(232, 222, 242);
/* oklch */ color: oklch(91.4% 0.029 308.1);
Tailwind
colors: {
  custom: {
    50: '#efe8f6',
    500: '#e8def2',
    950: '#000000',
  },
}
SCSS
$custom: #e8def2;
$custom-light: #efe8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e8def2",
  "rgb": {
    "r": 232,
    "g": 222,
    "b": 242
  },
  "hsl": {
    "h": 270,
    "s": 43.478,
    "l": 90.98
  },
  "oklch": {
    "l": 0.91444,
    "c": 0.02887,
    "h": 308.1
  },
  "luminance": 0.75809
}

Semantic roles & 50–950 ramp

primary
#E8DEF2
secondary
#BACFA5
accent
#B72F73
background
#FFFEFF
surface
#FEFCFE
border
#D6D5D6
text
#161617
muted
#858485

Preview Lab

Preview with #E8DEF2

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

Preview Lab → · Contrast checker → · Palette generator →

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