#E8DCF7#E8DCF7

#E8DCF7 is a very light, muted violet. Relative luminance 0.751; OKLCH L 91.2% C 0.038 H 305.6°. Best body text is #000000 at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#E8DCF7
RGBrgb(232, 220, 247)
HSLhsl(267, 63%, 92%)
HSVhsv(267, 11%, 97%)
CMYKcmyk(6.1%, 10.9%, 0%, 3.1%)
CIE-LABlab(89.42, 8.99, -11.66)
CIE-LCHlch(89.42, 14.72, 307.63°)
OKLaboklab(91.22% 0.0224 -0.0313)
OKLCHoklch(91.22% 0.038 305.6)
XYZxyz(75.6574, 75.0577, 98.4795)
Luminance0.7506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DCF7 #EBF7DC
analogous
#DCDEF7 #E8DCF7 #F6DCF7
triadic
#E8DCF7 #F7E8DC #DCF7E8
tetradic
#E8DCF7 #F7DCDE #EBF7DC #DCF7F6
square
#E8DCF7 #F7DCDE #EBF7DC #DCF7F6
split-complementary
#E8DCF7 #F7F6DC #DEF7DC
monochromatic
#A778E0 #C7AAEC #E8DCF7 #EFE6F9 #EFE6F9

Accessibility & contrast

On white

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

On black

16.01
#E8DCF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DCF7
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DCF7#FFFFFF#000000##000000
##E8DCF71.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8dcf7;
/* rgb */ color: rgb(232, 220, 247);
/* oklch */ color: oklch(91.2% 0.038 305.6);
Tailwind
colors: {
  custom: {
    50: '#efe6f9',
    500: '#e8dcf7',
    950: '#000000',
  },
}
SCSS
$custom: #e8dcf7;
$custom-light: #efe6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#e8dcf7",
  "rgb": {
    "r": 232,
    "g": 220,
    "b": 247
  },
  "hsl": {
    "h": 266.667,
    "s": 62.791,
    "l": 91.569
  },
  "oklch": {
    "l": 0.91217,
    "c": 0.03847,
    "h": 305.6
  },
  "luminance": 0.75058
}

Semantic roles & 50–950 ramp

primary
#E8DCF7
secondary
#BFD99E
accent
#CB1B7D
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#161617
muted
#858485

Preview Lab

Preview with #E8DCF7

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

Preview Lab → · Contrast checker → · Palette generator →

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