#D8A6EA#D8A6EA

#D8A6EA is a light, moderate purple. Relative luminance 0.478; OKLCH L 79.4% C 0.108 H 316.9°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#D8A6EA
RGBrgb(216, 166, 234)
HSLhsl(284, 62%, 78%)
HSVhsv(284, 29%, 92%)
CMYKcmyk(7.7%, 29.1%, 0%, 8.2%)
CIE-LABlab(74.71, 30.19, -27.08)
CIE-LCHlch(74.71, 40.56, 318.10°)
OKLaboklab(79.38% 0.079 -0.0738)
OKLCHoklch(79.38% 0.108 316.9)
XYZxyz(56.8042, 47.8130, 84.0624)
Luminance0.4781 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A6EA #B8EAA6
analogous
#B6A6EA #D8A6EA #EAA6DA
triadic
#D8A6EA #EAD8A6 #A6EAD8
tetradic
#D8A6EA #EAB6A6 #B8EAA6 #A6DAEA
square
#D8A6EA #EAB6A6 #B8EAA6 #A6DAEA
split-complementary
#D8A6EA #DAEAA6 #A6EAB6
monochromatic
#AD43D3 #C274DE #D8A6EA #EED8F6 #F4E6F9

Accessibility & contrast

On white

1.99
#D8A6EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#D8A6EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A6EA
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A6EA#FFFFFF#000000##000000
##D8A6EA1.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB5ED
Deuteranopia (green-blind)
#A8B9E8
Tritanopia (blue-blind)
#D8AEBE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d8a6ea;
/* rgb */ color: rgb(216, 166, 234);
/* oklch */ color: oklch(79.4% 0.108 316.9);
Tailwind
colors: {
  custom: {
    50: '#e4c1f1',
    500: '#d8a6ea',
    950: '#000000',
  },
}
SCSS
$custom: #d8a6ea;
$custom-light: #e4c1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a6ea",
  "rgb": {
    "r": 216,
    "g": 166,
    "b": 234
  },
  "hsl": {
    "h": 284.118,
    "s": 61.818,
    "l": 78.431
  },
  "oklch": {
    "l": 0.79384,
    "c": 0.10812,
    "h": 316.9
  },
  "luminance": 0.47812
}

Semantic roles & 50–950 ramp

primary
#D8A6EA
secondary
#E0F1DA
accent
#CA1C4A
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #D8A6EA

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

Preview Lab → · Contrast checker → · Palette generator →

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