#D487CF#D487CF

#D487CF is a light, vivid purple. Relative luminance 0.358; OKLCH L 72.6% C 0.132 H 329.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#D487CF
RGBrgb(212, 135, 207)
HSLhsl(304, 47%, 68%)
HSVhsv(304, 36%, 83%)
CMYKcmyk(0%, 36.3%, 2.4%, 16.9%)
CIE-LABlab(66.39, 40.47, -25.00)
CIE-LCHlch(66.39, 47.57, 328.29°)
OKLaboklab(72.65% 0.1134 -0.0678)
OKLCHoklch(72.65% 0.132 329.1)
XYZxyz(47.0771, 35.8321, 63.4559)
Luminance0.3583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D487CF #87D48C
analogous
#B287D4 #D487CF #D487A8
triadic
#D487CF #CFD487 #87CFD4
tetradic
#D487CF #D4B287 #87D48C #87A8D4
square
#D487CF #D4B287 #87D48C #87A8D4
split-complementary
#D487CF #A8D487 #87D4B2
monochromatic
#A53B9E #C45ABD #D487CF #E4B4E1 #F4E1F3

Accessibility & contrast

On white

2.57
#D487CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#D487CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D487CF
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D487CF#FFFFFF#000000##000000
##D487CF1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#839BD2
Deuteranopia (green-blind)
#97A5CD
Tritanopia (blue-blind)
#D98DA2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d487cf;
/* rgb */ color: rgb(212, 135, 207);
/* oklch */ color: oklch(72.6% 0.132 329.1);
Tailwind
colors: {
  custom: {
    50: '#e2abdd',
    500: '#d487cf',
    950: '#000000',
  },
}
SCSS
$custom: #d487cf;
$custom-light: #e2abdd;
$custom-dark: #000000;
JSON
{
  "hex": "#d487cf",
  "rgb": {
    "r": 212,
    "g": 135,
    "b": 207
  },
  "hsl": {
    "h": 303.896,
    "s": 47.239,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72648,
    "c": 0.1321,
    "h": 329.1
  },
  "luminance": 0.3583
}

Semantic roles & 50–950 ramp

primary
#D487CF
secondary
#D0E7D1
accent
#BA342B
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#151015
muted
#847F83

Preview Lab

Preview with #D487CF

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

Preview Lab → · Contrast checker → · Palette generator →

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