#D8A6EC#D8A6EC

#D8A6EC is a light, moderate purple. Relative luminance 0.479; OKLCH L 79.5% C 0.110 H 316.1°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#D8A6EC
RGBrgb(216, 166, 236)
HSLhsl(283, 65%, 79%)
HSVhsv(283, 30%, 93%)
CMYKcmyk(8.5%, 29.7%, 0%, 7.5%)
CIE-LABlab(74.78, 30.58, -28.06)
CIE-LCHlch(74.78, 41.50, 317.47°)
OKLaboklab(79.46% 0.0795 -0.0766)
OKLCHoklch(79.46% 0.11 316.1)
XYZxyz(57.0932, 47.9286, 85.5841)
Luminance0.4793 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A6EC #BAECA6
analogous
#B5A6EC #D8A6EC #ECA6DD
triadic
#D8A6EC #ECD8A6 #A6ECD8
tetradic
#D8A6EC #ECB5A6 #BAECA6 #A6DDEC
square
#D8A6EC #ECB5A6 #BAECA6 #A6DDEC
split-complementary
#D8A6EC #DDECA6 #A6ECB5
monochromatic
#AC41D6 #C274E1 #D8A6EC #EED8F7 #F4E6FA

Accessibility & contrast

On white

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

On black

10.59
#D8A6EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A6EC
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A6EC#FFFFFF#000000##000000
##D8A6EC1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB5EF
Deuteranopia (green-blind)
#A8BAEA
Tritanopia (blue-blind)
#D7AEBF
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d8a6ec;
/* rgb */ color: rgb(216, 166, 236);
/* oklch */ color: oklch(79.5% 0.110 316.1);
Tailwind
colors: {
  custom: {
    50: '#e4c1f2',
    500: '#d8a6ec',
    950: '#000000',
  },
}
SCSS
$custom: #d8a6ec;
$custom-light: #e4c1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a6ec",
  "rgb": {
    "r": 216,
    "g": 166,
    "b": 236
  },
  "hsl": {
    "h": 282.857,
    "s": 64.815,
    "l": 78.824
  },
  "oklch": {
    "l": 0.79464,
    "c": 0.11041,
    "h": 316.1
  },
  "luminance": 0.47927
}

Semantic roles & 50–950 ramp

primary
#D8A6EC
secondary
#E1F1DA
accent
#CD194C
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #D8A6EC

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

Preview Lab → · Contrast checker → · Palette generator →

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