#E7D2FC#E7D2FC

#E7D2FC is a very light, moderate violet. Relative luminance 0.701; OKLCH L 89.4% C 0.061 H 307.7°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#E7D2FC
RGBrgb(231, 210, 252)
HSLhsl(270, 88%, 91%)
HSVhsv(270, 17%, 99%)
CMYKcmyk(8.3%, 16.7%, 0%, 1.2%)
CIE-LABlab(87.05, 14.89, -17.85)
CIE-LCHlch(87.05, 23.25, 309.85°)
OKLaboklab(89.4% 0.0373 -0.0482)
OKLCHoklch(89.4% 0.061 307.7)
XYZxyz(73.5692, 70.1107, 101.7336)
Luminance0.7011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D2FC #E7FCD2
analogous
#D2D2FC #E7D2FC #FCD2FC
triadic
#E7D2FC #FCE7D2 #D2FCE7
tetradic
#E7D2FC #FCD2D2 #E7FCD2 #D2FCFC
square
#E7D2FC #FCD2D2 #E7FCD2 #D2FCFC
split-complementary
#E7D2FC #FCFCD2 #D2FCD2
monochromatic
#AA5FF4 #C899F8 #E7D2FC #F0E2FD #F0E2FD

Accessibility & contrast

On white

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

On black

15.02
#E7D2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D2FC
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D2FC#FFFFFF#000000##000000
##E7D2FC1.001.4015.0215.02
#FFFFFF1.401.0021.0021.00
#00000015.0221.001.001.00
##00000015.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCD9FE
Deuteranopia (green-blind)
#CFDAFB
Tritanopia (blue-blind)
#E5D7E0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e7d2fc;
/* rgb */ color: rgb(231, 210, 252);
/* oklch */ color: oklch(89.4% 0.061 307.7);
Tailwind
colors: {
  custom: {
    50: '#eedffd',
    500: '#e7d2fc',
    950: '#000000',
  },
}
SCSS
$custom: #e7d2fc;
$custom-light: #eedffd;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d2fc",
  "rgb": {
    "r": 231,
    "g": 210,
    "b": 252
  },
  "hsl": {
    "h": 270,
    "s": 87.5,
    "l": 90.588
  },
  "oklch": {
    "l": 0.89404,
    "c": 0.06091,
    "h": 307.7
  },
  "luminance": 0.7011
}

Semantic roles & 50–950 ramp

primary
#E7D2FC
secondary
#B9E48E
accent
#E40173
background
#FFFEFF
surface
#FEFCFF
border
#D6D5D7
text
#161517
muted
#858485

Preview Lab

Preview with #E7D2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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