#D8A7EA#D8A7EA

#D8A7EA is a light, moderate purple. Relative luminance 0.482; OKLCH L 79.6% C 0.106 H 316.8°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#D8A7EA
RGBrgb(216, 167, 234)
HSLhsl(284, 61%, 79%)
HSVhsv(284, 29%, 92%)
CMYKcmyk(7.7%, 28.6%, 0%, 8.2%)
CIE-LABlab(74.94, 29.64, -26.73)
CIE-LCHlch(74.94, 39.92, 317.96°)
OKLaboklab(79.56% 0.0775 -0.0728)
OKLCHoklch(79.56% 0.106 316.8)
XYZxyz(56.9867, 48.1780, 84.1232)
Luminance0.4818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A7EA #B9EAA7
analogous
#B6A7EA #D8A7EA #EAA7DA
triadic
#D8A7EA #EAD8A7 #A7EAD8
tetradic
#D8A7EA #EAB6A7 #B9EAA7 #A7DAEA
square
#D8A7EA #EAB6A7 #B9EAA7 #A7DAEA
split-complementary
#D8A7EA #DAEAA7 #A7EAB6
monochromatic
#AC44D2 #C276DE #D8A7EA #EED8F6 #F4E6F9

Accessibility & contrast

On white

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

On black

10.64
#D8A7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A7EA
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A7EA#FFFFFF#000000##000000
##D8A7EA1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB5ED
Deuteranopia (green-blind)
#A9BAE8
Tritanopia (blue-blind)
#D8AFBF
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d8a7ea;
/* rgb */ color: rgb(216, 167, 234);
/* oklch */ color: oklch(79.6% 0.106 316.8);
Tailwind
colors: {
  custom: {
    50: '#e4c1f1',
    500: '#d8a7ea',
    950: '#000000',
  },
}
SCSS
$custom: #d8a7ea;
$custom-light: #e4c1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a7ea",
  "rgb": {
    "r": 216,
    "g": 167,
    "b": 234
  },
  "hsl": {
    "h": 283.881,
    "s": 61.468,
    "l": 78.627
  },
  "oklch": {
    "l": 0.7956,
    "c": 0.10639,
    "h": 316.8
  },
  "luminance": 0.48177
}

Semantic roles & 50–950 ramp

primary
#D8A7EA
secondary
#E0F0DB
accent
#C91C4B
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #D8A7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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