#D8A7DC#D8A7DC

#D8A7DC is a light, moderate purple. Relative luminance 0.474; OKLCH L 79.0% C 0.091 H 323.9°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#D8A7DC
RGBrgb(216, 167, 220)
HSLhsl(295, 43%, 76%)
HSVhsv(295, 24%, 86%)
CMYKcmyk(1.8%, 24.1%, 0%, 13.7%)
CIE-LABlab(74.45, 26.93, -19.85)
CIE-LCHlch(74.45, 33.46, 323.60°)
OKLaboklab(79.02% 0.0735 -0.0536)
OKLCHoklch(79.02% 0.091 323.9)
XYZxyz(55.0544, 47.4050, 73.9462)
Luminance0.4740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A7DC #ABDCA7
analogous
#BDA7DC #D8A7DC #DCA7C5
triadic
#D8A7DC #DCD8A7 #A7DCD8
tetradic
#D8A7DC #DCBDA7 #ABDCA7 #A7C5DC
square
#D8A7DC #DCBDA7 #ABDCA7 #A7C5DC
split-complementary
#D8A7DC #C5DCA7 #A7DCBD
monochromatic
#B14FB9 #C57BCB #D8A7DC #EBD3ED #F5E9F6

Accessibility & contrast

On white

2.00
#D8A7DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#D8A7DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A7DC
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A7DC#FFFFFF#000000##000000
##D8A7DC1.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3B3DE
Deuteranopia (green-blind)
#AEB9DA
Tritanopia (blue-blind)
#DAACB9
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d8a7dc;
/* rgb */ color: rgb(216, 167, 220);
/* oklch */ color: oklch(79.0% 0.091 323.9);
Tailwind
colors: {
  custom: {
    50: '#e4c1e7',
    500: '#d8a7dc',
    950: '#000000',
  },
}
SCSS
$custom: #d8a7dc;
$custom-light: #e4c1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a7dc",
  "rgb": {
    "r": 216,
    "g": 167,
    "b": 220
  },
  "hsl": {
    "h": 295.472,
    "s": 43.089,
    "l": 75.882
  },
  "oklch": {
    "l": 0.79024,
    "c": 0.09096,
    "h": 323.9
  },
  "luminance": 0.47404
}

Semantic roles & 50–950 ramp

primary
#D8A7DC
secondary
#DFEDDE
accent
#B62F39
background
#FEFBFE
surface
#FCF7FC
border
#D5D0D5
text
#151216
muted
#848184

Preview Lab

Preview with #D8A7DC

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

Preview Lab → · Contrast checker → · Palette generator →

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