#D87EDD#D87EDD

#D87EDD is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.3% C 0.164 H 325.2°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#D87EDD
RGBrgb(216, 126, 221)
HSLhsl(297, 58%, 68%)
HSVhsv(297, 43%, 87%)
CMYKcmyk(2.3%, 43%, 0%, 13.3%)
CIE-LABlab(65.55, 48.95, -34.07)
CIE-LCHlch(65.55, 59.64, 325.17°)
OKLaboklab(72.3% 0.1342 -0.0933)
OKLCHoklch(72.3% 0.164 325.2)
XYZxyz(48.8298, 34.7433, 72.5266)
Luminance0.3474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87EDD #83DD7E
analogous
#A87EDD #D87EDD #DD7EB2
triadic
#D87EDD #DDD87E #7EDDD8
tetradic
#D87EDD #DDA87E #83DD7E #7EB2DD
square
#D87EDD #DDA87E #83DD7E #7EB2DD
split-complementary
#D87EDD #B2DD7E #7EDDA8
monochromatic
#AB2FB2 #C94ED0 #D87EDD #E7AEEA #F5DFF7

Accessibility & contrast

On white

2.64
#D87EDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#D87EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87EDD
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87EDD#FFFFFF#000000##000000
##D87EDD1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7498E0
Deuteranopia (green-blind)
#8DA3DA
Tritanopia (blue-blind)
#DC88A3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d87edd;
/* rgb */ color: rgb(216, 126, 221);
/* oklch */ color: oklch(72.3% 0.164 325.2);
Tailwind
colors: {
  custom: {
    50: '#e6a6e8',
    500: '#d87edd',
    950: '#000000',
  },
}
SCSS
$custom: #d87edd;
$custom-light: #e6a6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d87edd",
  "rgb": {
    "r": 216,
    "g": 126,
    "b": 221
  },
  "hsl": {
    "h": 296.842,
    "s": 58.282,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72299,
    "c": 0.1635,
    "h": 325.2
  },
  "luminance": 0.34741
}

Semantic roles & 50–950 ramp

primary
#D87EDD
secondary
#CEEACD
accent
#C62028
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D87EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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