#D887EF#D887EF

#D887EF is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.5% C 0.167 H 318.5°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#D887EF
RGBrgb(216, 135, 239)
HSLhsl(287, 76%, 73%)
HSVhsv(287, 44%, 94%)
CMYKcmyk(9.6%, 43.5%, 0%, 6.3%)
CIE-LABlab(68.14, 47.74, -39.98)
CIE-LCHlch(68.14, 62.27, 320.05°)
OKLaboklab(74.49% 0.1248 -0.1103)
OKLCHoklch(74.49% 0.167 318.5)
XYZxyz(52.5608, 38.1606, 86.2416)
Luminance0.3816 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D887EF #9EEF87
analogous
#A487EF #D887EF #EF87D2
triadic
#D887EF #EFD887 #87EFD8
tetradic
#D887EF #EFA487 #9EEF87 #87D2EF
square
#D887EF #EFA487 #9EEF87 #87D2EF
split-complementary
#D887EF #D2EF87 #87EFA4
monochromatic
#B31EDE #C651E8 #D887EF #EABDF6 #F6E4FB

Accessibility & contrast

On white

2.43
#D887EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#D887EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D887EF
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D887EF#FFFFFF#000000##000000
##D887EF1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A1F3
Deuteranopia (green-blind)
#8CA9EC
Tritanopia (blue-blind)
#D895B0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d887ef;
/* rgb */ color: rgb(216, 135, 239);
/* oklch */ color: oklch(74.5% 0.167 318.5);
Tailwind
colors: {
  custom: {
    50: '#e6acf4',
    500: '#d887ef',
    950: '#000000',
  },
}
SCSS
$custom: #d887ef;
$custom-light: #e6acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d887ef",
  "rgb": {
    "r": 216,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 286.731,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74485,
    "c": 0.16658,
    "h": 318.5
  },
  "luminance": 0.38159
}

Semantic roles & 50–950 ramp

primary
#D887EF
secondary
#DEF3D8
accent
#D90D3A
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D887EF

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

Preview Lab → · Contrast checker → · Palette generator →

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