#D287D6#D287D6

#D287D6 is a light, vivid purple. Relative luminance 0.359; OKLCH L 72.7% C 0.138 H 325.1°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#D287D6
RGBrgb(210, 135, 214)
HSLhsl(297, 49%, 68%)
HSVhsv(297, 37%, 84%)
CMYKcmyk(1.9%, 36.9%, 0%, 16.1%)
CIE-LABlab(66.43, 41.13, -28.86)
CIE-LCHlch(66.43, 50.25, 324.95°)
OKLaboklab(72.72% 0.1128 -0.0787)
OKLCHoklch(72.72% 0.138 325.1)
XYZxyz(47.3788, 35.8865, 68.0364)
Luminance0.3589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287D6 #8BD687
analogous
#AA87D6 #D287D6 #D687B2
triadic
#D287D6 #D6D287 #87D6D2
tetradic
#D287D6 #D6AA87 #8BD687 #87B2D6
square
#D287D6 #D6AA87 #8BD687 #87B2D6
split-complementary
#D287D6 #B2D687 #87D6AA
monochromatic
#A33AA9 #C159C6 #D287D6 #E3B5E6 #F4E2F5

Accessibility & contrast

On white

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

On black

8.18
#D287D6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287D6
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287D6#FFFFFF#000000##000000
##D287D61.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#809CD9
Deuteranopia (green-blind)
#93A5D3
Tritanopia (blue-blind)
#D68FA5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d287d6;
/* rgb */ color: rgb(210, 135, 214);
/* oklch */ color: oklch(72.7% 0.138 325.1);
Tailwind
colors: {
  custom: {
    50: '#e1abe3',
    500: '#d287d6',
    950: '#000000',
  },
}
SCSS
$custom: #d287d6;
$custom-light: #e1abe3;
$custom-dark: #000000;
JSON
{
  "hex": "#d287d6",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 214
  },
  "hsl": {
    "h": 296.962,
    "s": 49.068,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72718,
    "c": 0.13755,
    "h": 325.1
  },
  "luminance": 0.35885
}

Semantic roles & 50–950 ramp

primary
#D287D6
secondary
#D2E8D1
accent
#BC2931
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D287D6

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

Preview Lab → · Contrast checker → · Palette generator →

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