#D487D2#D487D2

#D487D2 is a light, vivid purple. Relative luminance 0.360; OKLCH L 72.8% C 0.135 H 327.8°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#D487D2
RGBrgb(212, 135, 210)
HSLhsl(302, 47%, 68%)
HSVhsv(302, 36%, 83%)
CMYKcmyk(0%, 36.3%, 0.9%, 16.9%)
CIE-LABlab(66.50, 41.01, -26.50)
CIE-LCHlch(66.50, 48.83, 327.13°)
OKLaboklab(72.77% 0.1141 -0.072)
OKLCHoklch(72.77% 0.135 327.8)
XYZxyz(47.4473, 35.9802, 65.4059)
Luminance0.3598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D487D2 #87D489
analogous
#AF87D4 #D487D2 #D487AC
triadic
#D487D2 #D2D487 #87D2D4
tetradic
#D487D2 #D4AF87 #87D489 #87ACD4
square
#D487D2 #D4AF87 #87D489 #87ACD4
split-complementary
#D487D2 #ACD487 #87D4AF
monochromatic
#A53BA3 #C45AC1 #D487D2 #E4B4E3 #F4E1F4

Accessibility & contrast

On white

2.56
#D487D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#D487D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D487D2
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D487D2#FFFFFF#000000##000000
##D487D21.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#829BD5
Deuteranopia (green-blind)
#96A5CF
Tritanopia (blue-blind)
#D98EA3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d487d2;
/* rgb */ color: rgb(212, 135, 210);
/* oklch */ color: oklch(72.8% 0.135 327.8);
Tailwind
colors: {
  custom: {
    50: '#e2abe0',
    500: '#d487d2',
    950: '#000000',
  },
}
SCSS
$custom: #d487d2;
$custom-light: #e2abe0;
$custom-dark: #000000;
JSON
{
  "hex": "#d487d2",
  "rgb": {
    "r": 212,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 301.558,
    "s": 47.239,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72771,
    "c": 0.13495,
    "h": 327.8
  },
  "luminance": 0.35978
}

Semantic roles & 50–950 ramp

primary
#D487D2
secondary
#D0E7D0
accent
#BA2F2B
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#151015
muted
#847F83

Preview Lab

Preview with #D487D2

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

Preview Lab → · Contrast checker → · Palette generator →

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