#D8A6ED#D8A6ED

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

Color values

HEX#D8A6ED
RGBrgb(216, 166, 237)
HSLhsl(282, 66%, 79%)
HSVhsv(282, 30%, 93%)
CMYKcmyk(8.9%, 30%, 0%, 7.1%)
CIE-LABlab(74.82, 30.78, -28.55)
CIE-LCHlch(74.82, 41.98, 317.16°)
OKLaboklab(79.5% 0.0798 -0.0779)
OKLCHoklch(79.5% 0.112 315.7)
XYZxyz(57.2389, 47.9869, 86.3514)
Luminance0.4799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A6ED #BBEDA6
analogous
#B5A6ED #D8A6ED #EDA6DE
triadic
#D8A6ED #EDD8A6 #A6EDD8
tetradic
#D8A6ED #EDB5A6 #BBEDA6 #A6DEED
square
#D8A6ED #EDB5A6 #BBEDA6 #A6DEED
split-complementary
#D8A6ED #DEEDA6 #A6EDB5
monochromatic
#AB40D8 #C273E3 #D8A6ED #EED9F7 #F4E6FA

Accessibility & contrast

On white

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

On black

10.60
#D8A6ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A6ED
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A6ED#FFFFFF#000000##000000
##D8A6ED1.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8a6ed;
/* rgb */ color: rgb(216, 166, 237);
/* oklch */ color: oklch(79.5% 0.112 315.7);
Tailwind
colors: {
  custom: {
    50: '#e5c1f3',
    500: '#d8a6ed',
    950: '#000000',
  },
}
SCSS
$custom: #d8a6ed;
$custom-light: #e5c1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a6ed",
  "rgb": {
    "r": 216,
    "g": 166,
    "b": 237
  },
  "hsl": {
    "h": 282.254,
    "s": 66.355,
    "l": 79.02
  },
  "oklch": {
    "l": 0.79504,
    "c": 0.11156,
    "h": 315.7
  },
  "luminance": 0.47986
}

Semantic roles & 50–950 ramp

primary
#D8A6ED
secondary
#E1F1DA
accent
#CE174D
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #D8A6ED

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

Preview Lab → · Contrast checker → · Palette generator →

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