#D287D4#D287D4

#D287D4 is a light, vivid purple. Relative luminance 0.358; OKLCH L 72.6% C 0.136 H 326.0°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#D287D4
RGBrgb(210, 135, 212)
HSLhsl(298, 47%, 68%)
HSVhsv(298, 36%, 83%)
CMYKcmyk(0.9%, 36.3%, 0%, 16.9%)
CIE-LABlab(66.36, 40.76, -27.87)
CIE-LCHlch(66.36, 49.37, 325.64°)
OKLaboklab(72.63% 0.1123 -0.0759)
OKLCHoklch(72.63% 0.136 326)
XYZxyz(47.1249, 35.7849, 66.6995)
Luminance0.3578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287D4 #89D487
analogous
#AC87D4 #D287D4 #D487AF
triadic
#D287D4 #D4D287 #87D4D2
tetradic
#D287D4 #D4AC87 #89D487 #87AFD4
square
#D287D4 #D4AC87 #89D487 #87AFD4
split-complementary
#D287D4 #AFD487 #87D4AC
monochromatic
#A33BA5 #C15AC4 #D287D4 #E3B4E4 #F4E1F4

Accessibility & contrast

On white

2.57
#D287D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#D287D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287D4
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287D4#FFFFFF#000000##000000
##D287D41.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#819BD7
Deuteranopia (green-blind)
#94A5D1
Tritanopia (blue-blind)
#D68EA4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d287d4;
/* rgb */ color: rgb(210, 135, 212);
/* oklch */ color: oklch(72.6% 0.136 326.0);
Tailwind
colors: {
  custom: {
    50: '#e1abe1',
    500: '#d287d4',
    950: '#000000',
  },
}
SCSS
$custom: #d287d4;
$custom-light: #e1abe1;
$custom-dark: #000000;
JSON
{
  "hex": "#d287d4",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 212
  },
  "hsl": {
    "h": 298.442,
    "s": 47.239,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72634,
    "c": 0.13556,
    "h": 326
  },
  "luminance": 0.35783
}

Semantic roles & 50–950 ramp

primary
#D287D4
secondary
#D0E7D0
accent
#BA2B2F
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D287D4

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

Preview Lab → · Contrast checker → · Palette generator →

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