#DC87DE#DC87DE

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

Color values

HEX#DC87DE
RGBrgb(220, 135, 222)
HSLhsl(299, 57%, 70%)
HSVhsv(299, 39%, 87%)
CMYKcmyk(0.9%, 39.2%, 0%, 12.9%)
CIE-LABlab(67.89, 45.68, -30.96)
CIE-LCHlch(67.89, 55.18, 325.87°)
OKLaboklab(74.17% 0.126 -0.0845)
OKLCHoklch(74.17% 0.152 326.2)
XYZxyz(51.3629, 37.8197, 73.6875)
Luminance0.3782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC87DE #89DE87
analogous
#B187DE #DC87DE #DE87B4
triadic
#DC87DE #DEDC87 #87DEDC
tetradic
#DC87DE #DEB187 #89DE87 #87B4DE
square
#DC87DE #DEB187 #89DE87 #87B4DE
split-complementary
#DC87DE #B4DE87 #87DEB1
monochromatic
#B533B8 #CE57D1 #DC87DE #EAB7EB #F8E7F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC87DE#FFFFFF#000000##000000
##DC87DE1.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)
#809FE1
Deuteranopia (green-blind)
#96A9DB
Tritanopia (blue-blind)
#E190A8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #dc87de;
/* rgb */ color: rgb(220, 135, 222);
/* oklch */ color: oklch(74.2% 0.152 326.2);
Tailwind
colors: {
  custom: {
    50: '#e8ace8',
    500: '#dc87de',
    950: '#000000',
  },
}
SCSS
$custom: #dc87de;
$custom-light: #e8ace8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc87de",
  "rgb": {
    "r": 220,
    "g": 135,
    "b": 222
  },
  "hsl": {
    "h": 298.621,
    "s": 56.863,
    "l": 70
  },
  "oklch": {
    "l": 0.74165,
    "c": 0.15173,
    "h": 326.2
  },
  "luminance": 0.37818
}

Semantic roles & 50–950 ramp

primary
#DC87DE
secondary
#D5EDD4
accent
#C42125
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DC87DE

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

Preview Lab → · Contrast checker → · Palette generator →

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