#D287DC#D287DC

#D287DC is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.0% C 0.144 H 322.7°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#D287DC
RGBrgb(210, 135, 220)
HSLhsl(293, 55%, 70%)
HSVhsv(293, 39%, 86%)
CMYKcmyk(4.5%, 38.6%, 0%, 13.7%)
CIE-LABlab(66.67, 42.27, -31.82)
CIE-LCHlch(66.67, 52.91, 323.02°)
OKLaboklab(72.98% 0.1142 -0.0871)
OKLCHoklch(72.98% 0.144 322.7)
XYZxyz(48.1592, 36.1986, 72.1465)
Luminance0.3620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287DC #91DC87
analogous
#A887DC #D287DC #DC87BC
triadic
#D287DC #DCD287 #87DCD2
tetradic
#D287DC #DCA887 #91DC87 #87BCDC
square
#D287DC #DCA887 #91DC87 #87BCDC
split-complementary
#D287DC #BCDC87 #87DCA8
monochromatic
#A535B4 #C058CE #D287DC #E4B6EA #F6E6F8

Accessibility & contrast

On white

2.55
#D287DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#D287DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287DC
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287DC#FFFFFF#000000##000000
##D287DC1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9DDF
Deuteranopia (green-blind)
#91A5D9
Tritanopia (blue-blind)
#D590A7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d287dc;
/* rgb */ color: rgb(210, 135, 220);
/* oklch */ color: oklch(73.0% 0.144 322.7);
Tailwind
colors: {
  custom: {
    50: '#e1abe7',
    500: '#d287dc',
    950: '#000000',
  },
}
SCSS
$custom: #d287dc;
$custom-light: #e1abe7;
$custom-dark: #000000;
JSON
{
  "hex": "#d287dc",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 292.941,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72976,
    "c": 0.14361,
    "h": 322.7
  },
  "luminance": 0.36197
}

Semantic roles & 50–950 ramp

primary
#D287DC
secondary
#D6ECD3
accent
#C22336
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #D287DC

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

Preview Lab → · Contrast checker → · Palette generator →

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