#D287EB#D287EB

#D287EB is a light, vivid purple. Relative luminance 0.370; OKLCH L 73.7% C 0.159 H 317.3°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#D287EB
RGBrgb(210, 135, 235)
HSLhsl(285, 71%, 73%)
HSVhsv(285, 43%, 92%)
CMYKcmyk(10.6%, 42.6%, 0%, 7.8%)
CIE-LABlab(67.30, 45.21, -39.14)
CIE-LCHlch(67.30, 59.80, 319.12°)
OKLaboklab(73.65% 0.1172 -0.108)
OKLCHoklch(73.65% 0.159 317.3)
XYZxyz(50.2356, 37.0292, 83.0822)
Luminance0.3703 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287EB #A0EB87
analogous
#A087EB #D287EB #EB87D2
triadic
#D287EB #EBD287 #87EBD2
tetradic
#D287EB #EBA087 #A0EB87 #87D2EB
square
#D287EB #EBA087 #A0EB87 #87D2EB
split-complementary
#D287EB #D2EB87 #87EBA0
monochromatic
#A823D4 #BE53E2 #D287EB #E6BBF4 #F5E5FB

Accessibility & contrast

On white

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

On black

8.41
#D287EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287EB
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287EB#FFFFFF#000000##000000
##D287EB1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d287eb;
/* rgb */ color: rgb(210, 135, 235);
/* oklch */ color: oklch(73.7% 0.159 317.3);
Tailwind
colors: {
  custom: {
    50: '#e1abf2',
    500: '#d287eb',
    950: '#000000',
  },
}
SCSS
$custom: #d287eb;
$custom-light: #e1abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d287eb",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 285,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73652,
    "c": 0.15937,
    "h": 317.3
  },
  "luminance": 0.37028
}

Semantic roles & 50–950 ramp

primary
#D287EB
secondary
#DFF2D9
accent
#D31242
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D287EB

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

Preview Lab → · Contrast checker → · Palette generator →

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