#D287C8#D287C8

#D287C8 is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.1% C 0.124 H 331.6°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#D287C8
RGBrgb(210, 135, 200)
HSLhsl(308, 45%, 68%)
HSVhsv(308, 36%, 82%)
CMYKcmyk(0%, 35.7%, 4.8%, 17.6%)
CIE-LABlab(65.91, 38.57, -21.86)
CIE-LCHlch(65.91, 44.33, 330.46°)
OKLaboklab(72.15% 0.1093 -0.059)
OKLCHoklch(72.15% 0.124 331.6)
XYZxyz(45.6671, 35.2018, 59.0215)
Luminance0.3520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287C8 #87D291
analogous
#B687D2 #D287C8 #D287A2
triadic
#D287C8 #C8D287 #87C8D2
tetradic
#D287C8 #D2B687 #87D291 #87A2D2
square
#D287C8 #D2B687 #87D291 #87A2D2
split-complementary
#D287C8 #A2D287 #87D2B6
monochromatic
#A23D94 #C15AB4 #D287C8 #E3B4DC #F3E0F1

Accessibility & contrast

On white

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

On black

8.04
#D287C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287C8
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287C8#FFFFFF#000000##000000
##D287C81.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d287c8;
/* rgb */ color: rgb(210, 135, 200);
/* oklch */ color: oklch(72.1% 0.124 331.6);
Tailwind
colors: {
  custom: {
    50: '#e1abd8',
    500: '#d287c8',
    950: '#000000',
  },
}
SCSS
$custom: #d287c8;
$custom-light: #e1abd8;
$custom-dark: #000000;
JSON
{
  "hex": "#d287c8",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 308,
    "s": 45.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72146,
    "c": 0.12417,
    "h": 331.6
  },
  "luminance": 0.352
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D287C8

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

Preview Lab → · Contrast checker → · Palette generator →

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