#E7DEF2#E7DEF2

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

Color values

HEX#E7DEF2
RGBrgb(231, 222, 242)
HSLhsl(267, 43%, 91%)
HSVhsv(267, 8%, 95%)
CMYKcmyk(4.5%, 8.3%, 0%, 5.1%)
CIE-LABlab(89.69, 6.67, -8.63)
CIE-LCHlch(89.69, 10.91, 307.69°)
OKLaboklab(91.37% 0.0168 -0.0231)
OKLCHoklch(91.37% 0.029 306)
XYZxyz(75.1005, 75.6424, 94.6312)
Luminance0.7564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DEF2 #E9F2DE
analogous
#DEDFF2 #E7DEF2 #F1DEF2
triadic
#E7DEF2 #F2E7DE #DEF2E7
tetradic
#E7DEF2 #F2DEDF #E9F2DE #DEF2F1
square
#E7DEF2 #F2DEDF #E9F2DE #DEF2F1
split-complementary
#E7DEF2 #F2F1DE #DFF2DE
monochromatic
#A786CF #C7B2E1 #E7DEF2 #EFE9F6 #EFE9F6

Accessibility & contrast

On white

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

On black

16.13
#E7DEF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DEF2
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DEF2#FFFFFF#000000##000000
##E7DEF21.001.3016.1316.13
#FFFFFF1.301.0021.0021.00
#00000016.1321.001.001.00
##00000016.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7def2;
/* rgb */ color: rgb(231, 222, 242);
/* oklch */ color: oklch(91.4% 0.029 306.0);
Tailwind
colors: {
  custom: {
    50: '#eee8f6',
    500: '#e7def2',
    950: '#000000',
  },
}
SCSS
$custom: #e7def2;
$custom-light: #eee8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e7def2",
  "rgb": {
    "r": 231,
    "g": 222,
    "b": 242
  },
  "hsl": {
    "h": 267,
    "s": 43.478,
    "l": 90.98
  },
  "oklch": {
    "l": 0.91365,
    "c": 0.02853,
    "h": 306
  },
  "luminance": 0.75642
}

Semantic roles & 50–950 ramp

primary
#E7DEF2
secondary
#BCCFA5
accent
#B72F7A
background
#FFFEFF
surface
#FEFCFE
border
#D6D5D6
text
#161617
muted
#858485

Preview Lab

Preview with #E7DEF2

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

Preview Lab → · Contrast checker → · Palette generator →

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