#E8DEFB#E8DEFB

#E8DEFB is a very light, muted violet. Relative luminance 0.764; OKLCH L 91.7% C 0.040 H 301.3°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#E8DEFB
RGBrgb(232, 222, 251)
HSLhsl(261, 78%, 93%)
HSVhsv(261, 12%, 98%)
CMYKcmyk(7.6%, 11.6%, 0%, 1.6%)
CIE-LABlab(90.03, 8.71, -12.85)
CIE-LCHlch(90.03, 15.52, 304.12°)
OKLaboklab(91.73% 0.021 -0.0345)
OKLCHoklch(91.73% 0.04 301.3)
XYZxyz(76.8094, 76.3634, 101.9412)
Luminance0.7636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DEFB #F1FBDE
analogous
#DEE2FB #E8DEFB #F7DEFB
triadic
#E8DEFB #FBE8DE #DEFBE8
tetradic
#E8DEFB #FBDEE2 #F1FBDE #DEFBF7
square
#E8DEFB #FBDEE2 #F1FBDE #DEFBF7
split-complementary
#E8DEFB #FBF7DE #E2FBDE
monochromatic
#9C71EE #C2A7F4 #E8DEFB #ECE4FC #ECE4FC

Accessibility & contrast

On white

1.29
#E8DEFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.27
#E8DEFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DEFB
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DEFB#FFFFFF#000000##000000
##E8DEFB1.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9E2FC
Deuteranopia (green-blind)
#DBE2FA
Tritanopia (blue-blind)
#E5E2E7
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e8defb;
/* rgb */ color: rgb(232, 222, 251);
/* oklch */ color: oklch(91.7% 0.040 301.3);
Tailwind
colors: {
  custom: {
    50: '#efe8fc',
    500: '#e8defb',
    950: '#000000',
  },
}
SCSS
$custom: #e8defb;
$custom-light: #efe8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e8defb",
  "rgb": {
    "r": 232,
    "g": 222,
    "b": 251
  },
  "hsl": {
    "h": 260.69,
    "s": 78.378,
    "l": 92.745
  },
  "oklch": {
    "l": 0.9173,
    "c": 0.04041,
    "h": 301.3
  },
  "luminance": 0.76363
}

Semantic roles & 50–950 ramp

primary
#E8DEFB
secondary
#CAE29B
accent
#DB0B93
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#161617
muted
#858485

Preview Lab

Preview with #E8DEFB

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

Preview Lab → · Contrast checker → · Palette generator →

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