#D287D0#D287D0

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

Color values

HEX#D287D0
RGBrgb(210, 135, 208)
HSLhsl(302, 45%, 68%)
HSVhsv(302, 36%, 82%)
CMYKcmyk(0%, 35.7%, 1%, 17.6%)
CIE-LABlab(66.20, 40.02, -25.87)
CIE-LCHlch(66.20, 47.65, 327.12°)
OKLaboklab(72.47% 0.1114 -0.0703)
OKLCHoklch(72.47% 0.132 327.8)
XYZxyz(46.6266, 35.5856, 64.0749)
Luminance0.3558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287D0 #87D289
analogous
#AE87D2 #D287D0 #D287AA
triadic
#D287D0 #D0D287 #87D0D2
tetradic
#D287D0 #D2AE87 #87D289 #87AAD2
square
#D287D0 #D2AE87 #87D289 #87AAD2
split-complementary
#D287D0 #AAD287 #87D2AE
monochromatic
#A23D9F #C15ABF #D287D0 #E3B4E1 #F3E0F3

Accessibility & contrast

On white

2.59
#D287D0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#D287D0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287D0
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287D0#FFFFFF#000000##000000
##D287D01.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#829BD3
Deuteranopia (green-blind)
#95A4CE
Tritanopia (blue-blind)
#D78DA2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d287d0;
/* rgb */ color: rgb(210, 135, 208);
/* oklch */ color: oklch(72.5% 0.132 327.8);
Tailwind
colors: {
  custom: {
    50: '#e1abde',
    500: '#d287d0',
    950: '#000000',
  },
}
SCSS
$custom: #d287d0;
$custom-light: #e1abde;
$custom-dark: #000000;
JSON
{
  "hex": "#d287d0",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 208
  },
  "hsl": {
    "h": 301.6,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72468,
    "c": 0.13167,
    "h": 327.8
  },
  "luminance": 0.35584
}

Semantic roles & 50–950 ramp

primary
#D287D0
secondary
#CFE6CF
accent
#B9312D
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D287D0

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

Preview Lab → · Contrast checker → · Palette generator →

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