#D287CD#D287CD

#D287CD is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.3% C 0.129 H 329.2°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#D287CD
RGBrgb(210, 135, 205)
HSLhsl(304, 45%, 68%)
HSVhsv(304, 36%, 82%)
CMYKcmyk(0%, 35.7%, 2.4%, 17.6%)
CIE-LABlab(66.09, 39.47, -24.37)
CIE-LCHlch(66.09, 46.39, 328.31°)
OKLaboklab(72.35% 0.1106 -0.066)
OKLCHoklch(72.35% 0.129 329.2)
XYZxyz(46.2610, 35.4394, 62.1495)
Luminance0.3544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287CD #87D28C
analogous
#B187D2 #D287CD #D287A7
triadic
#D287CD #CDD287 #87CDD2
tetradic
#D287CD #D2B187 #87D28C #87A7D2
square
#D287CD #D2B187 #87D28C #87A7D2
split-complementary
#D287CD #A7D287 #87D2B1
monochromatic
#A23D9B #C15ABA #D287CD #E3B4E0 #F3E0F2

Accessibility & contrast

On white

2.60
#D287CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#D287CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287CD
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287CD#FFFFFF#000000##000000
##D287CD1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#839AD0
Deuteranopia (green-blind)
#96A4CB
Tritanopia (blue-blind)
#D78DA1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d287cd;
/* rgb */ color: rgb(210, 135, 205);
/* oklch */ color: oklch(72.3% 0.129 329.2);
Tailwind
colors: {
  custom: {
    50: '#e1abdc',
    500: '#d287cd',
    950: '#000000',
  },
}
SCSS
$custom: #d287cd;
$custom-light: #e1abdc;
$custom-dark: #000000;
JSON
{
  "hex": "#d287cd",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 304,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72345,
    "c": 0.1288,
    "h": 329.2
  },
  "luminance": 0.35437
}

Semantic roles & 50–950 ramp

primary
#D287CD
secondary
#CFE6D0
accent
#B9362D
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D287CD

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

Preview Lab → · Contrast checker → · Palette generator →

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