#D287E8#D287E8

#D287E8 is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.5% C 0.156 H 318.3°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#D287E8
RGBrgb(210, 135, 232)
HSLhsl(286, 68%, 72%)
HSVhsv(286, 42%, 91%)
CMYKcmyk(9.5%, 41.8%, 0%, 9%)
CIE-LABlab(67.17, 44.61, -37.69)
CIE-LCHlch(67.17, 58.40, 319.81°)
OKLaboklab(73.51% 0.1166 -0.1039)
OKLCHoklch(73.51% 0.156 318.3)
XYZxyz(49.8058, 36.8573, 80.8188)
Luminance0.3686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287E8 #9DE887
analogous
#A287E8 #D287E8 #E887CD
triadic
#D287E8 #E8D287 #87E8D2
tetradic
#D287E8 #E8A287 #9DE887 #87CDE8
square
#D287E8 #E8A287 #9DE887 #87CDE8
split-complementary
#D287E8 #CDE887 #87E8A2
monochromatic
#A827CD #BF54DE #D287E8 #E5BAF2 #F5E5FA

Accessibility & contrast

On white

2.51
#D287E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#D287E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287E8
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287E8#FFFFFF#000000##000000
##D287E81.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#789FEB
Deuteranopia (green-blind)
#8CA6E5
Tritanopia (blue-blind)
#D294AD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d287e8;
/* rgb */ color: rgb(210, 135, 232);
/* oklch */ color: oklch(73.5% 0.156 318.3);
Tailwind
colors: {
  custom: {
    50: '#e1abef',
    500: '#d287e8',
    950: '#000000',
  },
}
SCSS
$custom: #d287e8;
$custom-light: #e1abef;
$custom-dark: #000000;
JSON
{
  "hex": "#d287e8",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 232
  },
  "hsl": {
    "h": 286.392,
    "s": 67.832,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73513,
    "c": 0.15616,
    "h": 318.3
  },
  "luminance": 0.36856
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D287E8

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

Preview Lab → · Contrast checker → · Palette generator →

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