#E7D2FE#E7D2FE

#E7D2FE is a very light, moderate violet. Relative luminance 0.702; OKLCH L 89.5% C 0.063 H 306.7°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#E7D2FE
RGBrgb(231, 210, 254)
HSLhsl(269, 96%, 91%)
HSVhsv(269, 17%, 100%)
CMYKcmyk(9.1%, 17.3%, 0%, 0.4%)
CIE-LABlab(87.11, 15.29, -18.81)
CIE-LCHlch(87.11, 24.24, 309.10°)
OKLaboklab(89.47% 0.0379 -0.0508)
OKLCHoklch(89.47% 0.063 306.7)
XYZxyz(73.8878, 70.2381, 103.4115)
Luminance0.7024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D2FE #E9FED2
analogous
#D2D3FE #E7D2FE #FDD2FE
triadic
#E7D2FE #FEE7D2 #D2FEE7
tetradic
#E7D2FE #FED2D3 #E9FED2 #D2FEFD
square
#E7D2FE #FED2D3 #E9FED2 #D2FEFD
split-complementary
#E7D2FE #FEFDD2 #D3FED2
monochromatic
#A75AFB #C796FD #E7D2FE #EFE1FE #EFE1FE

Accessibility & contrast

On white

1.40
#E7D2FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.05
#E7D2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D2FE
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D2FE#FFFFFF#000000##000000
##E7D2FE1.001.4015.0515.05
#FFFFFF1.401.0021.0021.00
#00000015.0521.001.001.00
##00000015.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7d2fe;
/* rgb */ color: rgb(231, 210, 254);
/* oklch */ color: oklch(89.5% 0.063 306.7);
Tailwind
colors: {
  custom: {
    50: '#eedffe',
    500: '#e7d2fe',
    950: '#000000',
  },
}
SCSS
$custom: #e7d2fe;
$custom-light: #eedffe;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d2fe",
  "rgb": {
    "r": 231,
    "g": 210,
    "b": 254
  },
  "hsl": {
    "h": 268.636,
    "s": 95.652,
    "l": 90.98
  },
  "oklch": {
    "l": 0.89474,
    "c": 0.06342,
    "h": 306.7
  },
  "luminance": 0.70238
}

Semantic roles & 50–950 ramp

primary
#E7D2FE
secondary
#BCE88C
accent
#E60078
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#161517
muted
#858485

Preview Lab

Preview with #E7D2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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