#D87AEE#D87AEE

#D87AEE is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.5% C 0.187 H 319.8°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#D87AEE
RGBrgb(216, 122, 238)
HSLhsl(289, 77%, 71%)
HSVhsv(289, 49%, 93%)
CMYKcmyk(9.2%, 48.7%, 0%, 6.7%)
CIE-LABlab(65.51, 54.19, -43.55)
CIE-LCHlch(65.51, 69.52, 321.22°)
OKLaboklab(72.51% 0.1426 -0.1205)
OKLCHoklch(72.51% 0.187 319.8)
XYZxyz(50.7091, 34.6930, 84.8976)
Luminance0.3469 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87AEE #90EE7A
analogous
#9E7AEE #D87AEE #EE7ACA
triadic
#D87AEE #EED87A #7AEED8
tetradic
#D87AEE #EE9E7A #90EE7A #7ACAEE
square
#D87AEE #EE9E7A #90EE7A #7ACAEE
split-complementary
#D87AEE #CAEE7A #7AEE9E
monochromatic
#B01BD3 #C844E7 #D87AEE #E8B0F5 #F7E4FC

Accessibility & contrast

On white

2.65
#D87AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#D87AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87AEE
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87AEE#FFFFFF#000000##000000
##D87AEE1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F2
Deuteranopia (green-blind)
#82A2EB
Tritanopia (blue-blind)
#D98AA9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d87aee;
/* rgb */ color: rgb(216, 122, 238);
/* oklch */ color: oklch(72.5% 0.187 319.8);
Tailwind
colors: {
  custom: {
    50: '#e6a3f4',
    500: '#d87aee',
    950: '#000000',
  },
}
SCSS
$custom: #d87aee;
$custom-light: #e6a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d87aee",
  "rgb": {
    "r": 216,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 288.621,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72513,
    "c": 0.18668,
    "h": 319.8
  },
  "luminance": 0.34691
}

Semantic roles & 50–950 ramp

primary
#D87AEE
secondary
#D8F2D2
accent
#DA0C33
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D87AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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