#D8A5EA#D8A5EA

#D8A5EA is a light, moderate purple. Relative luminance 0.474; OKLCH L 79.2% C 0.110 H 317.1°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#D8A5EA
RGBrgb(216, 165, 234)
HSLhsl(284, 62%, 78%)
HSVhsv(284, 29%, 92%)
CMYKcmyk(7.7%, 29.5%, 0%, 8.2%)
CIE-LABlab(74.48, 30.73, -27.44)
CIE-LCHlch(74.48, 41.19, 318.24°)
OKLaboklab(79.21% 0.0805 -0.0748)
OKLCHoklch(79.21% 0.11 317.1)
XYZxyz(56.6231, 47.4509, 84.0020)
Luminance0.4745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8A5EA #B7EAA5
analogous
#B5A5EA #D8A5EA #EAA5D9
triadic
#D8A5EA #EAD8A5 #A5EAD8
tetradic
#D8A5EA #EAB5A5 #B7EAA5 #A5D9EA
square
#D8A5EA #EAB5A5 #B7EAA5 #A5D9EA
split-complementary
#D8A5EA #D9EAA5 #A5EAB5
monochromatic
#AD42D3 #C273DE #D8A5EA #EED7F6 #F4E6F9

Accessibility & contrast

On white

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

On black

10.49
#D8A5EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8A5EA
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8A5EA#FFFFFF#000000##000000
##D8A5EA1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB4ED
Deuteranopia (green-blind)
#A7B9E8
Tritanopia (blue-blind)
#D8ADBE
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d8a5ea;
/* rgb */ color: rgb(216, 165, 234);
/* oklch */ color: oklch(79.2% 0.110 317.1);
Tailwind
colors: {
  custom: {
    50: '#e4c0f1',
    500: '#d8a5ea',
    950: '#000000',
  },
}
SCSS
$custom: #d8a5ea;
$custom-light: #e4c0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d8a5ea",
  "rgb": {
    "r": 216,
    "g": 165,
    "b": 234
  },
  "hsl": {
    "h": 284.348,
    "s": 62.162,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79209,
    "c": 0.10987,
    "h": 317.1
  },
  "luminance": 0.4745
}

Semantic roles & 50–950 ramp

primary
#D8A5EA
secondary
#E0F1DA
accent
#CA1C49
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #D8A5EA

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

Preview Lab → · Contrast checker → · Palette generator →

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