#D8A6EB#D8A6EB

#D8A6EB is a light, moderate purple. Relative luminance 0.479; OKLCH L 79.4% C 0.109 H 316.5°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#D8A6EB
RGBrgb(216, 166, 235)
HSLhsl(283, 63%, 79%)
HSVhsv(283, 29%, 92%)
CMYKcmyk(8.1%, 29.4%, 0%, 7.8%)
CIE-LABlab(74.74, 30.38, -27.57)
CIE-LCHlch(74.74, 41.03, 317.78°)
OKLaboklab(79.42% 0.0793 -0.0752)
OKLCHoklch(79.42% 0.109 316.5)
XYZxyz(56.9483, 47.8706, 84.8211)
Luminance0.4787 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A6EB #B9EBA6
analogous
#B5A6EB #D8A6EB #EBA6DB
triadic
#D8A6EB #EBD8A6 #A6EBD8
tetradic
#D8A6EB #EBB5A6 #B9EBA6 #A6DBEB
square
#D8A6EB #EBB5A6 #B9EBA6 #A6DBEB
split-complementary
#D8A6EB #DBEBA6 #A6EBB5
monochromatic
#AC42D5 #C274E0 #D8A6EB #EED8F6 #F4E6F9

Accessibility & contrast

On white

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

On black

10.57
#D8A6EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A6EB
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A6EB#FFFFFF#000000##000000
##D8A6EB1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB5EE
Deuteranopia (green-blind)
#A8BAE9
Tritanopia (blue-blind)
#D8AEBF
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d8a6eb;
/* rgb */ color: rgb(216, 166, 235);
/* oklch */ color: oklch(79.4% 0.109 316.5);
Tailwind
colors: {
  custom: {
    50: '#e4c1f1',
    500: '#d8a6eb',
    950: '#000000',
  },
}
SCSS
$custom: #d8a6eb;
$custom-light: #e4c1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a6eb",
  "rgb": {
    "r": 216,
    "g": 166,
    "b": 235
  },
  "hsl": {
    "h": 283.478,
    "s": 63.303,
    "l": 78.627
  },
  "oklch": {
    "l": 0.79424,
    "c": 0.10927,
    "h": 316.5
  },
  "luminance": 0.4787
}

Semantic roles & 50–950 ramp

primary
#D8A6EB
secondary
#E0F1DA
accent
#CB1A4B
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #D8A6EB

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

Preview Lab → · Contrast checker → · Palette generator →

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