#D287D1#D287D1

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

Color values

HEX#D287D1
RGBrgb(210, 135, 209)
HSLhsl(301, 45%, 68%)
HSVhsv(301, 36%, 82%)
CMYKcmyk(0%, 35.7%, 0.5%, 17.6%)
CIE-LABlab(66.24, 40.20, -26.37)
CIE-LCHlch(66.24, 48.08, 326.74°)
OKLaboklab(72.51% 0.1116 -0.0717)
OKLCHoklch(72.51% 0.133 327.3)
XYZxyz(46.7500, 35.6350, 64.7249)
Luminance0.3563 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287D1 #87D288
analogous
#AD87D2 #D287D1 #D287AB
triadic
#D287D1 #D1D287 #87D1D2
tetradic
#D287D1 #D2AD87 #87D288 #87ABD2
square
#D287D1 #D2AD87 #87D288 #87ABD2
split-complementary
#D287D1 #ABD287 #87D2AD
monochromatic
#A23DA1 #C15AC0 #D287D1 #E3B4E2 #F3E0F3

Accessibility & contrast

On white

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

On black

8.13
#D287D1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287D1
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287D1#FFFFFF#000000##000000
##D287D11.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d287d1;
/* rgb */ color: rgb(210, 135, 209);
/* oklch */ color: oklch(72.5% 0.133 327.3);
Tailwind
colors: {
  custom: {
    50: '#e1abdf',
    500: '#d287d1',
    950: '#000000',
  },
}
SCSS
$custom: #d287d1;
$custom-light: #e1abdf;
$custom-dark: #000000;
JSON
{
  "hex": "#d287d1",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 209
  },
  "hsl": {
    "h": 300.8,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72509,
    "c": 0.13263,
    "h": 327.3
  },
  "luminance": 0.35633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D287D1

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

Preview Lab → · Contrast checker → · Palette generator →

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