#D287D8#D287D8

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

Color values

HEX#D287D8
RGBrgb(210, 135, 216)
HSLhsl(296, 51%, 69%)
HSVhsv(296, 38%, 85%)
CMYKcmyk(2.8%, 37.5%, 0%, 15.3%)
CIE-LABlab(66.51, 41.51, -29.85)
CIE-LCHlch(66.51, 51.13, 324.28°)
OKLaboklab(72.8% 0.1133 -0.0815)
OKLCHoklch(72.8% 0.14 324.3)
XYZxyz(47.6357, 35.9893, 69.3898)
Luminance0.3599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287D8 #8DD887
analogous
#AA87D8 #D287D8 #D887B6
triadic
#D287D8 #D8D287 #87D8D2
tetradic
#D287D8 #D8AA87 #8DD887 #87B6D8
square
#D287D8 #D8AA87 #8DD887 #87B6D8
split-complementary
#D287D8 #B6D887 #87D8AA
monochromatic
#A438AD #C159C9 #D287D8 #E3B5E7 #F5E3F6

Accessibility & contrast

On white

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

On black

8.20
#D287D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287D8
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287D8#FFFFFF#000000##000000
##D287D81.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9CDB
Deuteranopia (green-blind)
#92A5D5
Tritanopia (blue-blind)
#D58FA6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d287d8;
/* rgb */ color: rgb(210, 135, 216);
/* oklch */ color: oklch(72.8% 0.140 324.3);
Tailwind
colors: {
  custom: {
    50: '#e1abe4',
    500: '#d287d8',
    950: '#000000',
  },
}
SCSS
$custom: #d287d8;
$custom-light: #e1abe4;
$custom-dark: #000000;
JSON
{
  "hex": "#d287d8",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 216
  },
  "hsl": {
    "h": 295.556,
    "s": 50.943,
    "l": 68.824
  },
  "oklch": {
    "l": 0.72803,
    "c": 0.13955,
    "h": 324.3
  },
  "luminance": 0.35987
}

Semantic roles & 50–950 ramp

primary
#D287D8
secondary
#D3E9D1
accent
#BE2732
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D287D8

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

Preview Lab → · Contrast checker → · Palette generator →

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