#D287C6#D287C6

#D287C6 is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.1% C 0.122 H 332.7°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#D287C6
RGBrgb(210, 135, 198)
HSLhsl(310, 45%, 68%)
HSVhsv(310, 36%, 82%)
CMYKcmyk(0%, 35.7%, 5.7%, 17.6%)
CIE-LABlab(65.83, 38.22, -20.85)
CIE-LCHlch(65.83, 43.53, 331.39°)
OKLaboklab(72.07% 0.1087 -0.0562)
OKLCHoklch(72.07% 0.122 332.7)
XYZxyz(45.4349, 35.1089, 57.7986)
Luminance0.3511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287C6 #87D293
analogous
#B887D2 #D287C6 #D287A0
triadic
#D287C6 #C6D287 #87C6D2
tetradic
#D287C6 #D2B887 #87D293 #87A0D2
square
#D287C6 #D2B887 #87D293 #87A0D2
split-complementary
#D287C6 #A0D287 #87D2B8
monochromatic
#A23D92 #C15AB1 #D287C6 #E3B4DB #F3E0F0

Accessibility & contrast

On white

2.62
#D287C6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#D287C6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287C6
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287C6#FFFFFF#000000##000000
##D287C61.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8699C8
Deuteranopia (green-blind)
#99A4C4
Tritanopia (blue-blind)
#D88B9E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d287c6;
/* rgb */ color: rgb(210, 135, 198);
/* oklch */ color: oklch(72.1% 0.122 332.7);
Tailwind
colors: {
  custom: {
    50: '#e1abd7',
    500: '#d287c6',
    950: '#000000',
  },
}
SCSS
$custom: #d287c6;
$custom-light: #e1abd7;
$custom-dark: #000000;
JSON
{
  "hex": "#d287c6",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 198
  },
  "hsl": {
    "h": 309.6,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72067,
    "c": 0.12238,
    "h": 332.7
  },
  "luminance": 0.35107
}

Semantic roles & 50–950 ramp

primary
#D287C6
secondary
#CFE6D2
accent
#B9432D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #D287C6

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

Preview Lab → · Contrast checker → · Palette generator →

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