#D8A6EF#D8A6EF

#D8A6EF is a light, moderate purple. Relative luminance 0.481; OKLCH L 79.6% C 0.114 H 314.9°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#D8A6EF
RGBrgb(216, 166, 239)
HSLhsl(281, 70%, 79%)
HSVhsv(281, 31%, 94%)
CMYKcmyk(9.6%, 30.5%, 0%, 6.3%)
CIE-LABlab(74.89, 31.19, -29.52)
CIE-LCHlch(74.89, 42.94, 316.57°)
OKLaboklab(79.58% 0.0803 -0.0807)
OKLCHoklch(79.58% 0.114 314.9)
XYZxyz(57.5327, 48.1044, 87.8989)
Luminance0.4810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A6EF #BDEFA6
analogous
#B4A6EF #D8A6EF #EFA6E2
triadic
#D8A6EF #EFD8A6 #A6EFD8
tetradic
#D8A6EF #EFB4A6 #BDEFA6 #A6E2EF
square
#D8A6EF #EFB4A6 #BDEFA6 #A6E2EF
split-complementary
#D8A6EF #E2EFA6 #A6EFB4
monochromatic
#AB3EDC #C172E6 #D8A6EF #EFDAF8 #F4E5FA

Accessibility & contrast

On white

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

On black

10.62
#D8A6EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A6EF
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A6EF#FFFFFF#000000##000000
##D8A6EF1.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8a6ef;
/* rgb */ color: rgb(216, 166, 239);
/* oklch */ color: oklch(79.6% 0.114 314.9);
Tailwind
colors: {
  custom: {
    50: '#e5c1f4',
    500: '#d8a6ef',
    950: '#000000',
  },
}
SCSS
$custom: #d8a6ef;
$custom-light: #e5c1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a6ef",
  "rgb": {
    "r": 216,
    "g": 166,
    "b": 239
  },
  "hsl": {
    "h": 281.096,
    "s": 69.524,
    "l": 79.412
  },
  "oklch": {
    "l": 0.79585,
    "c": 0.11387,
    "h": 314.9
  },
  "luminance": 0.48103
}

Semantic roles & 50–950 ramp

primary
#D8A6EF
secondary
#E1F2D9
accent
#D21450
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #D8A6EF

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

Preview Lab → · Contrast checker → · Palette generator →

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