#D287C9#D287C9

#D287C9 is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.2% C 0.125 H 331.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#D287C9
RGBrgb(210, 135, 201)
HSLhsl(307, 45%, 68%)
HSVhsv(307, 36%, 82%)
CMYKcmyk(0%, 35.7%, 4.3%, 17.6%)
CIE-LABlab(65.94, 38.75, -22.36)
CIE-LCHlch(65.94, 44.74, 330.01°)
OKLaboklab(72.19% 0.1095 -0.0604)
OKLCHoklch(72.19% 0.125 331.1)
XYZxyz(45.7843, 35.2487, 59.6390)
Luminance0.3525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287C9 #87D290
analogous
#B587D2 #D287C9 #D287A3
triadic
#D287C9 #C9D287 #87C9D2
tetradic
#D287C9 #D2B587 #87D290 #87A3D2
square
#D287C9 #D2B587 #87D290 #87A3D2
split-complementary
#D287C9 #A3D287 #87D2B5
monochromatic
#A23D96 #C15AB5 #D287C9 #E3B4DD #F3E0F1

Accessibility & contrast

On white

2.61
#D287C9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#D287C9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287C9
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287C9#FFFFFF#000000##000000
##D287C91.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#859ACB
Deuteranopia (green-blind)
#98A4C7
Tritanopia (blue-blind)
#D88C9F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d287c9;
/* rgb */ color: rgb(210, 135, 201);
/* oklch */ color: oklch(72.2% 0.125 331.1);
Tailwind
colors: {
  custom: {
    50: '#e1abd9',
    500: '#d287c9',
    950: '#000000',
  },
}
SCSS
$custom: #d287c9;
$custom-light: #e1abd9;
$custom-dark: #000000;
JSON
{
  "hex": "#d287c9",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 201
  },
  "hsl": {
    "h": 307.2,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72185,
    "c": 0.12508,
    "h": 331.1
  },
  "luminance": 0.35247
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D287C9

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

Preview Lab → · Contrast checker → · Palette generator →

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