#D287CB#D287CB

#D287CB is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.3% C 0.127 H 330.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#D287CB
RGBrgb(210, 135, 203)
HSLhsl(306, 45%, 68%)
HSVhsv(306, 36%, 82%)
CMYKcmyk(0%, 35.7%, 3.3%, 17.6%)
CIE-LABlab(66.02, 39.11, -23.37)
CIE-LCHlch(66.02, 45.56, 329.14°)
OKLaboklab(72.27% 0.1101 -0.0632)
OKLCHoklch(72.27% 0.127 330.1)
XYZxyz(46.0211, 35.3434, 60.8862)
Luminance0.3534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287CB #87D28E
analogous
#B387D2 #D287CB #D287A5
triadic
#D287CB #CBD287 #87CBD2
tetradic
#D287CB #D2B387 #87D28E #87A5D2
square
#D287CB #D2B387 #87D28E #87A5D2
split-complementary
#D287CB #A5D287 #87D2B3
monochromatic
#A23D98 #C15AB8 #D287CB #E3B4DE #F3E0F2

Accessibility & contrast

On white

2.60
#D287CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#D287CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287CB
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287CB#FFFFFF#000000##000000
##D287CB1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#849ACE
Deuteranopia (green-blind)
#97A4C9
Tritanopia (blue-blind)
#D88CA0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d287cb;
/* rgb */ color: rgb(210, 135, 203);
/* oklch */ color: oklch(72.3% 0.127 330.1);
Tailwind
colors: {
  custom: {
    50: '#e1abdb',
    500: '#d287cb',
    950: '#000000',
  },
}
SCSS
$custom: #d287cb;
$custom-light: #e1abdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d287cb",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 305.6,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72265,
    "c": 0.12693,
    "h": 330.1
  },
  "luminance": 0.35341
}

Semantic roles & 50–950 ramp

primary
#D287CB
secondary
#CFE6D1
accent
#B93A2D
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D287CB

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

Preview Lab → · Contrast checker → · Palette generator →

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