#D287D7#D287D7

#D287D7 is a light, vivid purple. Relative luminance 0.359; OKLCH L 72.8% C 0.139 H 324.7°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#D287D7
RGBrgb(210, 135, 215)
HSLhsl(296, 50%, 69%)
HSVhsv(296, 37%, 84%)
CMYKcmyk(2.3%, 37.2%, 0%, 15.7%)
CIE-LABlab(66.47, 41.32, -29.35)
CIE-LCHlch(66.47, 50.69, 324.61°)
OKLaboklab(72.76% 0.113 -0.0801)
OKLCHoklch(72.76% 0.139 324.7)
XYZxyz(47.5069, 35.9377, 68.7110)
Luminance0.3594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287D7 #8CD787
analogous
#AA87D7 #D287D7 #D787B4
triadic
#D287D7 #D7D287 #87D7D2
tetradic
#D287D7 #D7AA87 #8CD787 #87B4D7
square
#D287D7 #D7AA87 #8CD787 #87B4D7
split-complementary
#D287D7 #B4D787 #87D7AA
monochromatic
#A439AB #C159C8 #D287D7 #E3B5E6 #F4E3F6

Accessibility & contrast

On white

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

On black

8.19
#D287D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287D7
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287D7#FFFFFF#000000##000000
##D287D71.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9CDA
Deuteranopia (green-blind)
#93A5D4
Tritanopia (blue-blind)
#D68FA5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d287d7;
/* rgb */ color: rgb(210, 135, 215);
/* oklch */ color: oklch(72.8% 0.139 324.7);
Tailwind
colors: {
  custom: {
    50: '#e1abe3',
    500: '#d287d7',
    950: '#000000',
  },
}
SCSS
$custom: #d287d7;
$custom-light: #e1abe3;
$custom-dark: #000000;
JSON
{
  "hex": "#d287d7",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 215
  },
  "hsl": {
    "h": 296.25,
    "s": 50,
    "l": 68.627
  },
  "oklch": {
    "l": 0.7276,
    "c": 0.13854,
    "h": 324.7
  },
  "luminance": 0.35936
}

Semantic roles & 50–950 ramp

primary
#D287D7
secondary
#D2E9D1
accent
#BD2831
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D287D7

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

Preview Lab → · Contrast checker → · Palette generator →

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