#D8A5EF#D8A5EF

#D8A5EF is a light, moderate purple. Relative luminance 0.477; OKLCH L 79.4% C 0.116 H 315.0°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#D8A5EF
RGBrgb(216, 165, 239)
HSLhsl(281, 70%, 79%)
HSVhsv(281, 31%, 94%)
CMYKcmyk(9.6%, 31%, 0%, 6.3%)
CIE-LABlab(74.66, 31.73, -29.87)
CIE-LCHlch(74.66, 43.57, 316.73°)
OKLaboklab(79.41% 0.0818 -0.0817)
OKLCHoklch(79.41% 0.116 315)
XYZxyz(57.3516, 47.7422, 87.8386)
Luminance0.4774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A5EF #BCEFA5
analogous
#B3A5EF #D8A5EF #EFA5E1
triadic
#D8A5EF #EFD8A5 #A5EFD8
tetradic
#D8A5EF #EFB3A5 #BCEFA5 #A5E1EF
square
#D8A5EF #EFB3A5 #BCEFA5 #A5E1EF
split-complementary
#D8A5EF #E1EFA5 #A5EFB3
monochromatic
#AB3DDD #C171E6 #D8A5EF #EFD9F8 #F4E5FA

Accessibility & contrast

On white

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

On black

10.55
#D8A5EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A5EF
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A5EF#FFFFFF#000000##000000
##D8A5EF1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB5F2
Deuteranopia (green-blind)
#A6B9ED
Tritanopia (blue-blind)
#D7AEC0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d8a5ef;
/* rgb */ color: rgb(216, 165, 239);
/* oklch */ color: oklch(79.4% 0.116 315.0);
Tailwind
colors: {
  custom: {
    50: '#e5c0f4',
    500: '#d8a5ef',
    950: '#000000',
  },
}
SCSS
$custom: #d8a5ef;
$custom-light: #e5c0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a5ef",
  "rgb": {
    "r": 216,
    "g": 165,
    "b": 239
  },
  "hsl": {
    "h": 281.351,
    "s": 69.811,
    "l": 79.216
  },
  "oklch": {
    "l": 0.79411,
    "c": 0.11559,
    "h": 315
  },
  "luminance": 0.47741
}

Semantic roles & 50–950 ramp

primary
#D8A5EF
secondary
#E1F2D9
accent
#D2144F
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #D8A5EF

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

Preview Lab → · Contrast checker → · Palette generator →

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