#E7D2FF#E7D2FF

#E7D2FF is a very light, moderate violet. Relative luminance 0.703; OKLCH L 89.5% C 0.065 H 306.2°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#E7D2FF
RGBrgb(231, 210, 255)
HSLhsl(268, 100%, 91%)
HSVhsv(268, 18%, 100%)
CMYKcmyk(9.4%, 17.6%, 0%, 0%)
CIE-LABlab(87.14, 15.48, -19.29)
CIE-LCHlch(87.14, 24.74, 308.75°)
OKLaboklab(89.51% 0.0382 -0.0522)
OKLCHoklch(89.51% 0.065 306.2)
XYZxyz(74.0483, 70.3024, 104.2571)
Luminance0.7030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D2FF #EAFFD2
analogous
#D2D3FF #E7D2FF #FDD2FF
triadic
#E7D2FF #FFE7D2 #D2FFE7
tetradic
#E7D2FF #FFD2D3 #EAFFD2 #D2FFFD
square
#E7D2FF #FFD2D3 #EAFFD2 #D2FFFD
split-complementary
#E7D2FF #FFFDD2 #D3FFD2
monochromatic
#A658FF #C695FF #E7D2FF #EFE0FF #EFE0FF

Accessibility & contrast

On white

1.39
#E7D2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.06
#E7D2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D2FF
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D2FF#FFFFFF#000000##000000
##E7D2FF1.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBD9FF
Deuteranopia (green-blind)
#CEDAFE
Tritanopia (blue-blind)
#E4D8E1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e7d2ff;
/* rgb */ color: rgb(231, 210, 255);
/* oklch */ color: oklch(89.5% 0.065 306.2);
Tailwind
colors: {
  custom: {
    50: '#eedfff',
    500: '#e7d2ff',
    950: '#000000',
  },
}
SCSS
$custom: #e7d2ff;
$custom-light: #eedfff;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d2ff",
  "rgb": {
    "r": 231,
    "g": 210,
    "b": 255
  },
  "hsl": {
    "h": 268,
    "s": 100,
    "l": 91.176
  },
  "oklch": {
    "l": 0.89508,
    "c": 0.06469,
    "h": 306.2
  },
  "luminance": 0.70302
}

Semantic roles & 50–950 ramp

primary
#E7D2FF
secondary
#BEEA8B
accent
#E6007A
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#161518
muted
#858486

Preview Lab

Preview with #E7D2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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