#D8A7EE#D8A7EE

#D8A7EE is a light, moderate purple. Relative luminance 0.484; OKLCH L 79.7% C 0.111 H 315.1°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#D8A7EE
RGBrgb(216, 167, 238)
HSLhsl(281, 68%, 79%)
HSVhsv(281, 30%, 93%)
CMYKcmyk(9.2%, 29.8%, 0%, 6.7%)
CIE-LABlab(75.08, 30.44, -28.68)
CIE-LCHlch(75.08, 41.82, 316.71°)
OKLaboklab(79.72% 0.0786 -0.0783)
OKLCHoklch(79.72% 0.111 315.1)
XYZxyz(57.5678, 48.4104, 87.1839)
Luminance0.4841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A7EE #BDEEA7
analogous
#B5A7EE #D8A7EE #EEA7E1
triadic
#D8A7EE #EED8A7 #A7EED8
tetradic
#D8A7EE #EEB5A7 #BDEEA7 #A7E1EE
square
#D8A7EE #EEB5A7 #BDEEA7 #A7E1EE
split-complementary
#D8A7EE #E1EEA7 #A7EEB5
monochromatic
#AB40DA #C174E4 #D8A7EE #EFDAF8 #F4E5FA

Accessibility & contrast

On white

1.97
#D8A7EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#D8A7EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A7EE
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A7EE#FFFFFF#000000##000000
##D8A7EE1.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB6F1
Deuteranopia (green-blind)
#A8BAEC
Tritanopia (blue-blind)
#D7B0C1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #d8a7ee;
/* rgb */ color: rgb(216, 167, 238);
/* oklch */ color: oklch(79.7% 0.111 315.1);
Tailwind
colors: {
  custom: {
    50: '#e4c1f3',
    500: '#d8a7ee',
    950: '#000000',
  },
}
SCSS
$custom: #d8a7ee;
$custom-light: #e4c1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a7ee",
  "rgb": {
    "r": 216,
    "g": 167,
    "b": 238
  },
  "hsl": {
    "h": 281.408,
    "s": 67.619,
    "l": 79.412
  },
  "oklch": {
    "l": 0.7972,
    "c": 0.11098,
    "h": 315.1
  },
  "luminance": 0.48409
}

Semantic roles & 50–950 ramp

primary
#D8A7EE
secondary
#E1F2D9
accent
#D0164F
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #D8A7EE

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

Preview Lab → · Contrast checker → · Palette generator →

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