#D287D9#D287D9

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

Color values

HEX#D287D9
RGBrgb(210, 135, 217)
HSLhsl(295, 52%, 69%)
HSVhsv(295, 38%, 85%)
CMYKcmyk(3.2%, 37.8%, 0%, 14.9%)
CIE-LABlab(66.55, 41.70, -30.34)
CIE-LCHlch(66.55, 51.57, 323.96°)
OKLaboklab(72.85% 0.1135 -0.0829)
OKLCHoklch(72.85% 0.141 323.9)
XYZxyz(47.7654, 36.0411, 70.0727)
Luminance0.3604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287D9 #8ED987
analogous
#A987D9 #D287D9 #D987B7
triadic
#D287D9 #D9D287 #87D9D2
tetradic
#D287D9 #D9A987 #8ED987 #87B7D9
square
#D287D9 #D9A987 #8ED987 #87B7D9
split-complementary
#D287D9 #B7D987 #87D9A9
monochromatic
#A437AE #C159CA #D287D9 #E3B5E8 #F5E4F6

Accessibility & contrast

On white

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

On black

8.21
#D287D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287D9
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287D9#FFFFFF#000000##000000
##D287D91.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9CDC
Deuteranopia (green-blind)
#92A5D6
Tritanopia (blue-blind)
#D590A6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d287d9;
/* rgb */ color: rgb(210, 135, 217);
/* oklch */ color: oklch(72.8% 0.141 323.9);
Tailwind
colors: {
  custom: {
    50: '#e1abe5',
    500: '#d287d9',
    950: '#000000',
  },
}
SCSS
$custom: #d287d9;
$custom-light: #e1abe5;
$custom-dark: #000000;
JSON
{
  "hex": "#d287d9",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 217
  },
  "hsl": {
    "h": 294.878,
    "s": 51.899,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72846,
    "c": 0.14056,
    "h": 323.9
  },
  "luminance": 0.36039
}

Semantic roles & 50–950 ramp

primary
#D287D9
secondary
#D4EAD2
accent
#BF2633
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151015
muted
#837F84

Preview Lab

Preview with #D287D9

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

Preview Lab → · Contrast checker → · Palette generator →

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