#D287D2#D287D2

#D287D2 is a light, vivid purple. Relative luminance 0.357; OKLCH L 72.5% C 0.134 H 326.8°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#D287D2
RGBrgb(210, 135, 210)
HSLhsl(300, 45%, 68%)
HSVhsv(300, 36%, 82%)
CMYKcmyk(0%, 35.7%, 0%, 17.6%)
CIE-LABlab(66.28, 40.39, -26.87)
CIE-LCHlch(66.28, 48.51, 326.36°)
OKLaboklab(72.55% 0.1119 -0.0731)
OKLCHoklch(72.55% 0.134 326.8)
XYZxyz(46.8742, 35.6847, 65.3790)
Luminance0.3568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287D2 #87D287
analogous
#AC87D2 #D287D2 #D287AC
triadic
#D287D2 #D2D287 #87D2D2
tetradic
#D287D2 #D2AC87 #87D287 #87ACD2
square
#D287D2 #D2AC87 #87D287 #87ACD2
split-complementary
#D287D2 #ACD287 #87D2AC
monochromatic
#A23DA2 #C15AC1 #D287D2 #E3B4E3 #F3E0F3

Accessibility & contrast

On white

2.58
#D287D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#D287D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287D2
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287D2#FFFFFF#000000##000000
##D287D21.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#819BD5
Deuteranopia (green-blind)
#94A5CF
Tritanopia (blue-blind)
#D68EA3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d287d2;
/* rgb */ color: rgb(210, 135, 210);
/* oklch */ color: oklch(72.5% 0.134 326.8);
Tailwind
colors: {
  custom: {
    50: '#e1abe0',
    500: '#d287d2',
    950: '#000000',
  },
}
SCSS
$custom: #d287d2;
$custom-light: #e1abe0;
$custom-dark: #000000;
JSON
{
  "hex": "#d287d2",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 300,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.7255,
    "c": 0.1336,
    "h": 326.8
  },
  "luminance": 0.35683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D287D2

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

Preview Lab → · Contrast checker → · Palette generator →

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