#DD87DB#DD87DB

#DD87DB is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.2% C 0.150 H 327.8°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#DD87DB
RGBrgb(221, 135, 219)
HSLhsl(301, 56%, 70%)
HSVhsv(301, 39%, 87%)
CMYKcmyk(0%, 38.9%, 0.9%, 13.3%)
CIE-LABlab(67.89, 45.44, -29.29)
CIE-LCHlch(67.89, 54.06, 327.19°)
OKLaboklab(74.15% 0.1265 -0.0797)
OKLCHoklch(74.15% 0.15 327.8)
XYZxyz(51.2680, 37.8169, 71.6030)
Luminance0.3781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD87DB #87DD89
analogous
#B487DD #DD87DB #DD87B0
triadic
#DD87DB #DBDD87 #87DBDD
tetradic
#DD87DB #DDB487 #87DD89 #87B0DD
square
#DD87DB #DDB487 #87DD89 #87B0DD
split-complementary
#DD87DB #B0DD87 #87DDB4
monochromatic
#B634B3 #CF57CD #DD87DB #EBB7E9 #F8E6F8

Accessibility & contrast

On white

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

On black

8.56
#DD87DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD87DB
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD87DB#FFFFFF#000000##000000
##DD87DB1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#819EDE
Deuteranopia (green-blind)
#98A9D8
Tritanopia (blue-blind)
#E28FA7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #dd87db;
/* rgb */ color: rgb(221, 135, 219);
/* oklch */ color: oklch(74.2% 0.150 327.8);
Tailwind
colors: {
  custom: {
    50: '#e9ace6',
    500: '#dd87db',
    950: '#000000',
  },
}
SCSS
$custom: #dd87db;
$custom-light: #e9ace6;
$custom-dark: #000000;
JSON
{
  "hex": "#dd87db",
  "rgb": {
    "r": 221,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 301.395,
    "s": 55.844,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7415,
    "c": 0.14953,
    "h": 327.8
  },
  "luminance": 0.37815
}

Semantic roles & 50–950 ramp

primary
#DD87DB
secondary
#D4ECD4
accent
#C32622
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DD87DB

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

Preview Lab → · Contrast checker → · Palette generator →

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