#DC87CD#DC87CD

#DC87CD is a light, vivid pink. Relative luminance 0.370; OKLCH L 73.5% C 0.136 H 333.6°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#DC87CD
RGBrgb(220, 135, 205)
HSLhsl(311, 55%, 70%)
HSVhsv(311, 39%, 86%)
CMYKcmyk(0%, 38.6%, 6.8%, 13.7%)
CIE-LABlab(67.24, 42.65, -22.50)
CIE-LCHlch(67.24, 48.23, 332.18°)
OKLaboklab(73.47% 0.1219 -0.0607)
OKLCHoklch(73.47% 0.136 333.6)
XYZxyz(49.1983, 36.9539, 62.2872)
Luminance0.3695 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC87CD #87DC96
analogous
#C187DC #DC87CD #DC87A3
triadic
#DC87CD #CDDC87 #87CDDC
tetradic
#DC87CD #DCC187 #87DC96 #87A3DC
square
#DC87CD #DCC187 #87DC96 #87A3DC
split-complementary
#DC87CD #A3DC87 #87DCC1
monochromatic
#B4359E #CE58B9 #DC87CD #EAB6E1 #F8E6F4

Accessibility & contrast

On white

2.50
#DC87CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#DC87CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC87CD
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC87CD#FFFFFF#000000##000000
##DC87CD1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#869CD0
Deuteranopia (green-blind)
#9CA8CA
Tritanopia (blue-blind)
#E38BA1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #dc87cd;
/* rgb */ color: rgb(220, 135, 205);
/* oklch */ color: oklch(73.5% 0.136 333.6);
Tailwind
colors: {
  custom: {
    50: '#e8abdc',
    500: '#dc87cd',
    950: '#000000',
  },
}
SCSS
$custom: #dc87cd;
$custom-light: #e8abdc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc87cd",
  "rgb": {
    "r": 220,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 310.588,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73467,
    "c": 0.13619,
    "h": 333.6
  },
  "luminance": 0.36951
}

Semantic roles & 50–950 ramp

primary
#DC87CD
secondary
#D3ECD8
accent
#C23F23
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #DC87CD

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

Preview Lab → · Contrast checker → · Palette generator →

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