#D887EA#D887EA

#D887EA is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.3% C 0.161 H 320.1°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#D887EA
RGBrgb(216, 135, 234)
HSLhsl(289, 70%, 72%)
HSVhsv(289, 42%, 92%)
CMYKcmyk(7.7%, 42.3%, 0%, 8.2%)
CIE-LABlab(67.92, 46.76, -37.56)
CIE-LCHlch(67.92, 59.98, 321.22°)
OKLaboklab(74.25% 0.1239 -0.1034)
OKLCHoklch(74.25% 0.161 320.1)
XYZxyz(51.8323, 37.8692, 82.4051)
Luminance0.3787 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D887EA #99EA87
analogous
#A787EA #D887EA #EA87CB
triadic
#D887EA #EAD887 #87EAD8
tetradic
#D887EA #EAA787 #99EA87 #87CBEA
square
#D887EA #EAA787 #99EA87 #87CBEA
split-complementary
#D887EA #CBEA87 #87EAA7
monochromatic
#B225D2 #C753E1 #D887EA #E9BBF3 #F7E5FA

Accessibility & contrast

On white

2.45
#D887EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#D887EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D887EA
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D887EA#FFFFFF#000000##000000
##D887EA1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0EE
Deuteranopia (green-blind)
#8FA9E7
Tritanopia (blue-blind)
#D993AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d887ea;
/* rgb */ color: rgb(216, 135, 234);
/* oklch */ color: oklch(74.3% 0.161 320.1);
Tailwind
colors: {
  custom: {
    50: '#e6acf1',
    500: '#d887ea',
    950: '#000000',
  },
}
SCSS
$custom: #d887ea;
$custom-light: #e6acf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d887ea",
  "rgb": {
    "r": 216,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 289.091,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.74254,
    "c": 0.16138,
    "h": 320.1
  },
  "luminance": 0.37867
}

Semantic roles & 50–950 ramp

primary
#D887EA
secondary
#DEF2D9
accent
#D21336
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D887EA

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

Preview Lab → · Contrast checker → · Palette generator →

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