#D87BEE#D87BEE

#D87BEE is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.7% C 0.185 H 319.7°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#D87BEE
RGBrgb(216, 123, 238)
HSLhsl(289, 77%, 71%)
HSVhsv(289, 48%, 93%)
CMYKcmyk(9.2%, 48.3%, 0%, 6.7%)
CIE-LABlab(65.70, 53.69, -43.25)
CIE-LCHlch(65.70, 68.94, 321.15°)
OKLaboklab(72.66% 0.1412 -0.1197)
OKLCHoklch(72.66% 0.185 319.7)
XYZxyz(50.8325, 34.9398, 84.9388)
Luminance0.3494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87BEE #91EE7B
analogous
#9E7BEE #D87BEE #EE7BCA
triadic
#D87BEE #EED87B #7BEED8
tetradic
#D87BEE #EE9E7B #91EE7B #7BCAEE
square
#D87BEE #EE9E7B #91EE7B #7BCAEE
split-complementary
#D87BEE #CAEE7B #7BEE9E
monochromatic
#B01BD3 #C845E7 #D87BEE #E8B1F5 #F7E4FC

Accessibility & contrast

On white

2.63
#D87BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#D87BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87BEE
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87BEE#FFFFFF#000000##000000
##D87BEE1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F2
Deuteranopia (green-blind)
#83A3EB
Tritanopia (blue-blind)
#D98BAA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d87bee;
/* rgb */ color: rgb(216, 123, 238);
/* oklch */ color: oklch(72.7% 0.185 319.7);
Tailwind
colors: {
  custom: {
    50: '#e6a4f4',
    500: '#d87bee',
    950: '#000000',
  },
}
SCSS
$custom: #d87bee;
$custom-light: #e6a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d87bee",
  "rgb": {
    "r": 216,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 288.522,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72656,
    "c": 0.18509,
    "h": 319.7
  },
  "luminance": 0.34938
}

Semantic roles & 50–950 ramp

primary
#D87BEE
secondary
#D9F2D3
accent
#D90C33
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D87BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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