#D287EA#D287EA

#D287EA is a light, vivid purple. Relative luminance 0.370; OKLCH L 73.6% C 0.158 H 317.6°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#D287EA
RGBrgb(210, 135, 234)
HSLhsl(285, 70%, 72%)
HSVhsv(285, 42%, 92%)
CMYKcmyk(10.3%, 42.3%, 0%, 8.2%)
CIE-LABlab(67.26, 45.01, -38.66)
CIE-LCHlch(67.26, 59.33, 319.34°)
OKLaboklab(73.61% 0.117 -0.1067)
OKLCHoklch(73.61% 0.158 317.6)
XYZxyz(50.0915, 36.9716, 82.3235)
Luminance0.3697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287EA #9FEA87
analogous
#A187EA #D287EA #EA87D0
triadic
#D287EA #EAD287 #87EAD2
tetradic
#D287EA #EAA187 #9FEA87 #87D0EA
square
#D287EA #EAA187 #9FEA87 #87D0EA
split-complementary
#D287EA #D0EA87 #87EAA1
monochromatic
#A825D2 #BE53E1 #D287EA #E6BBF3 #F5E5FA

Accessibility & contrast

On white

2.50
#D287EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#D287EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287EA
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287EA#FFFFFF#000000##000000
##D287EA1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEE
Deuteranopia (green-blind)
#8BA6E7
Tritanopia (blue-blind)
#D294AE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d287ea;
/* rgb */ color: rgb(210, 135, 234);
/* oklch */ color: oklch(73.6% 0.158 317.6);
Tailwind
colors: {
  custom: {
    50: '#e1abf1',
    500: '#d287ea',
    950: '#000000',
  },
}
SCSS
$custom: #d287ea;
$custom-light: #e1abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#d287ea",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 285.455,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73606,
    "c": 0.1583,
    "h": 317.6
  },
  "luminance": 0.3697
}

Semantic roles & 50–950 ramp

primary
#D287EA
secondary
#DFF2D9
accent
#D21342
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151016
muted
#847F84

Preview Lab

Preview with #D287EA

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

Preview Lab → · Contrast checker → · Palette generator →

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