#D487CB#D487CB

#D487CB is a light, vivid purple. Relative luminance 0.356; OKLCH L 72.5% C 0.128 H 331.0°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#D487CB
RGBrgb(212, 135, 203)
HSLhsl(307, 47%, 68%)
HSVhsv(307, 36%, 83%)
CMYKcmyk(0%, 36.3%, 4.2%, 16.9%)
CIE-LABlab(66.24, 39.75, -23.00)
CIE-LCHlch(66.24, 45.92, 329.95°)
OKLaboklab(72.49% 0.1124 -0.0621)
OKLCHoklch(72.49% 0.128 331)
XYZxyz(46.5942, 35.6389, 60.9130)
Luminance0.3564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D487CB #87D490
analogous
#B687D4 #D487CB #D487A4
triadic
#D487CB #CBD487 #87CBD4
tetradic
#D487CB #D4B687 #87D490 #87A4D4
square
#D487CB #D4B687 #87D490 #87A4D4
split-complementary
#D487CB #A4D487 #87D4B6
monochromatic
#A53B99 #C45AB7 #D487CB #E4B4DF #F4E1F2

Accessibility & contrast

On white

2.58
#D487CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#D487CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D487CB
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D487CB#FFFFFF#000000##000000
##D487CB1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#859ACE
Deuteranopia (green-blind)
#98A5C9
Tritanopia (blue-blind)
#DA8CA0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d487cb;
/* rgb */ color: rgb(212, 135, 203);
/* oklch */ color: oklch(72.5% 0.128 331.0);
Tailwind
colors: {
  custom: {
    50: '#e2abdb',
    500: '#d487cb',
    950: '#000000',
  },
}
SCSS
$custom: #d487cb;
$custom-light: #e2abdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d487cb",
  "rgb": {
    "r": 212,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 307.013,
    "s": 47.239,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72487,
    "c": 0.12839,
    "h": 331
  },
  "luminance": 0.35637
}

Semantic roles & 50–950 ramp

primary
#D487CB
secondary
#D0E7D2
accent
#BA3C2B
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#151015
muted
#847F83

Preview Lab

Preview with #D487CB

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

Preview Lab → · Contrast checker → · Palette generator →

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