#D8A6EE#D8A6EE

#D8A6EE is a light, moderate purple. Relative luminance 0.480; OKLCH L 79.5% C 0.113 H 315.3°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#D8A6EE
RGBrgb(216, 166, 238)
HSLhsl(282, 68%, 79%)
HSVhsv(282, 30%, 93%)
CMYKcmyk(9.2%, 30.3%, 0%, 6.7%)
CIE-LABlab(74.85, 30.98, -29.03)
CIE-LCHlch(74.85, 42.46, 316.86°)
OKLaboklab(79.55% 0.0801 -0.0793)
OKLCHoklch(79.55% 0.113 315.3)
XYZxyz(57.3854, 48.0455, 87.1230)
Luminance0.4804 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A6EE #BCEEA6
analogous
#B4A6EE #D8A6EE #EEA6E0
triadic
#D8A6EE #EED8A6 #A6EED8
tetradic
#D8A6EE #EEB4A6 #BCEEA6 #A6E0EE
square
#D8A6EE #EEB4A6 #BCEEA6 #A6E0EE
split-complementary
#D8A6EE #E0EEA6 #A6EEB4
monochromatic
#AB3FDA #C173E4 #D8A6EE #EFD9F8 #F4E5FA

Accessibility & contrast

On white

1.98
#D8A6EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#D8A6EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A6EE
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A6EE#FFFFFF#000000##000000
##D8A6EE1.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB5F1
Deuteranopia (green-blind)
#A7BAEC
Tritanopia (blue-blind)
#D7AFC0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d8a6ee;
/* rgb */ color: rgb(216, 166, 238);
/* oklch */ color: oklch(79.5% 0.113 315.3);
Tailwind
colors: {
  custom: {
    50: '#e5c1f3',
    500: '#d8a6ee',
    950: '#000000',
  },
}
SCSS
$custom: #d8a6ee;
$custom-light: #e5c1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a6ee",
  "rgb": {
    "r": 216,
    "g": 166,
    "b": 238
  },
  "hsl": {
    "h": 281.667,
    "s": 67.925,
    "l": 79.216
  },
  "oklch": {
    "l": 0.79545,
    "c": 0.11271,
    "h": 315.3
  },
  "luminance": 0.48044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8A6EE

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

Preview Lab → · Contrast checker → · Palette generator →

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