#D287D5#D287D5

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

Color values

HEX#D287D5
RGBrgb(210, 135, 213)
HSLhsl(298, 48%, 68%)
HSVhsv(298, 37%, 84%)
CMYKcmyk(1.4%, 36.6%, 0%, 16.5%)
CIE-LABlab(66.39, 40.94, -28.36)
CIE-LCHlch(66.39, 49.81, 325.29°)
OKLaboklab(72.68% 0.1126 -0.0773)
OKLCHoklch(72.68% 0.137 325.5)
XYZxyz(47.2515, 35.8356, 67.3659)
Luminance0.3583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287D5 #8AD587
analogous
#AB87D5 #D287D5 #D587B1
triadic
#D287D5 #D5D287 #87D5D2
tetradic
#D287D5 #D5AB87 #8AD587 #87B1D5
square
#D287D5 #D5AB87 #8AD587 #87B1D5
split-complementary
#D287D5 #B1D587 #87D5AB
monochromatic
#A33AA7 #C15AC5 #D287D5 #E3B4E5 #F4E2F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D287D5#FFFFFF#000000##000000
##D287D51.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)
#809CD8
Deuteranopia (green-blind)
#93A5D2
Tritanopia (blue-blind)
#D68FA4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d287d5;
/* rgb */ color: rgb(210, 135, 213);
/* oklch */ color: oklch(72.7% 0.137 325.5);
Tailwind
colors: {
  custom: {
    50: '#e1abe2',
    500: '#d287d5',
    950: '#000000',
  },
}
SCSS
$custom: #d287d5;
$custom-light: #e1abe2;
$custom-dark: #000000;
JSON
{
  "hex": "#d287d5",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 213
  },
  "hsl": {
    "h": 297.692,
    "s": 48.148,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72676,
    "c": 0.13655,
    "h": 325.5
  },
  "luminance": 0.35834
}

Semantic roles & 50–950 ramp

primary
#D287D5
secondary
#D1E8D0
accent
#BB2A30
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D287D5

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

Preview Lab → · Contrast checker → · Palette generator →

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