#D8A5EC#D8A5EC

#D8A5EC is a light, moderate purple. Relative luminance 0.476; OKLCH L 79.3% C 0.112 H 316.2°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#D8A5EC
RGBrgb(216, 165, 236)
HSLhsl(283, 65%, 79%)
HSVhsv(283, 30%, 93%)
CMYKcmyk(8.5%, 30.1%, 0%, 7.5%)
CIE-LABlab(74.55, 31.13, -28.41)
CIE-LCHlch(74.55, 42.14, 317.61°)
OKLaboklab(79.29% 0.081 -0.0776)
OKLCHoklch(79.29% 0.112 316.2)
XYZxyz(56.9121, 47.5664, 85.5238)
Luminance0.4757 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A5EC #B9ECA5
analogous
#B4A5EC #D8A5EC #ECA5DC
triadic
#D8A5EC #ECD8A5 #A5ECD8
tetradic
#D8A5EC #ECB4A5 #B9ECA5 #A5DCEC
square
#D8A5EC #ECB4A5 #B9ECA5 #A5DCEC
split-complementary
#D8A5EC #DCECA5 #A5ECB4
monochromatic
#AC40D7 #C272E1 #D8A5EC #EED8F7 #F4E6FA

Accessibility & contrast

On white

2.00
#D8A5EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#D8A5EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A5EC
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A5EC#FFFFFF#000000##000000
##D8A5EC1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB4EF
Deuteranopia (green-blind)
#A7B9EA
Tritanopia (blue-blind)
#D8ADBF
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d8a5ec;
/* rgb */ color: rgb(216, 165, 236);
/* oklch */ color: oklch(79.3% 0.112 316.2);
Tailwind
colors: {
  custom: {
    50: '#e5c0f2',
    500: '#d8a5ec',
    950: '#000000',
  },
}
SCSS
$custom: #d8a5ec;
$custom-light: #e5c0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a5ec",
  "rgb": {
    "r": 216,
    "g": 165,
    "b": 236
  },
  "hsl": {
    "h": 283.099,
    "s": 65.138,
    "l": 78.627
  },
  "oklch": {
    "l": 0.79289,
    "c": 0.11215,
    "h": 316.2
  },
  "luminance": 0.47565
}

Semantic roles & 50–950 ramp

primary
#D8A5EC
secondary
#E0F1DA
accent
#CD194B
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #D8A5EC

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

Preview Lab → · Contrast checker → · Palette generator →

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