#E8DCF8#E8DCF8

#E8DCF8 is a very light, muted violet. Relative luminance 0.751; OKLCH L 91.3% C 0.040 H 305.0°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#E8DCF8
RGBrgb(232, 220, 248)
HSLhsl(266, 67%, 92%)
HSVhsv(266, 11%, 97%)
CMYKcmyk(6.5%, 11.3%, 0%, 2.7%)
CIE-LABlab(89.45, 9.18, -12.14)
CIE-LCHlch(89.45, 15.22, 307.09°)
OKLaboklab(91.25% 0.0228 -0.0326)
OKLCHoklch(91.25% 0.04 305)
XYZxyz(75.8122, 75.1196, 99.2943)
Luminance0.7512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DCF8 #ECF8DC
analogous
#DCDEF8 #E8DCF8 #F6DCF8
triadic
#E8DCF8 #F8E8DC #DCF8E8
tetradic
#E8DCF8 #F8DCDE #ECF8DC #DCF8F6
square
#E8DCF8 #F8DCDE #ECF8DC #DCF8F6
split-complementary
#E8DCF8 #F8F6DC #DEF8DC
monochromatic
#A576E4 #C6A9EE #E8DCF8 #EEE5FA #EEE5FA

Accessibility & contrast

On white

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

On black

16.02
#E8DCF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DCF8
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DCF8#FFFFFF#000000##000000
##E8DCF81.001.3116.0216.02
#FFFFFF1.311.0021.0021.00
#00000016.0221.001.001.00
##00000016.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8E0F9
Deuteranopia (green-blind)
#DAE1F7
Tritanopia (blue-blind)
#E6DFE5
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e8dcf8;
/* rgb */ color: rgb(232, 220, 248);
/* oklch */ color: oklch(91.3% 0.040 305.0);
Tailwind
colors: {
  custom: {
    50: '#efe6fa',
    500: '#e8dcf8',
    950: '#000000',
  },
}
SCSS
$custom: #e8dcf8;
$custom-light: #efe6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#e8dcf8",
  "rgb": {
    "r": 232,
    "g": 220,
    "b": 248
  },
  "hsl": {
    "h": 265.714,
    "s": 66.667,
    "l": 91.765
  },
  "oklch": {
    "l": 0.9125,
    "c": 0.03974,
    "h": 305
  },
  "luminance": 0.7512
}

Semantic roles & 50–950 ramp

primary
#E8DCF8
secondary
#C1DB9D
accent
#CF1780
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#161617
muted
#858485

Preview Lab

Preview with #E8DCF8

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

Preview Lab → · Contrast checker → · Palette generator →

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