#D287EF#D287EF

#D287EF is a light, vivid purple. Relative luminance 0.373; OKLCH L 73.8% C 0.164 H 316.1°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#D287EF
RGBrgb(210, 135, 239)
HSLhsl(283, 76%, 73%)
HSVhsv(283, 44%, 94%)
CMYKcmyk(12.1%, 43.5%, 0%, 6.3%)
CIE-LABlab(67.47, 46.02, -41.07)
CIE-LCHlch(67.47, 61.68, 318.25°)
OKLaboklab(73.84% 0.1179 -0.1136)
OKLCHoklch(73.84% 0.164 316.1)
XYZxyz(50.8200, 37.2630, 86.1600)
Luminance0.3726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287EF #A4EF87
analogous
#9E87EF #D287EF #EF87D8
triadic
#D287EF #EFD287 #87EFD2
tetradic
#D287EF #EF9E87 #A4EF87 #87D8EF
square
#D287EF #EF9E87 #A4EF87 #87D8EF
split-complementary
#D287EF #D8EF87 #87EF9E
monochromatic
#A81EDE #BE51E8 #D287EF #E6BDF6 #F5E4FB

Accessibility & contrast

On white

2.48
#D287EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#D287EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287EF
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287EF#FFFFFF#000000##000000
##D287EF1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F3
Deuteranopia (green-blind)
#89A7EC
Tritanopia (blue-blind)
#D195B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d287ef;
/* rgb */ color: rgb(210, 135, 239);
/* oklch */ color: oklch(73.8% 0.164 316.1);
Tailwind
colors: {
  custom: {
    50: '#e1abf4',
    500: '#d287ef',
    950: '#000000',
  },
}
SCSS
$custom: #d287ef;
$custom-light: #e1abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d287ef",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 283.269,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73841,
    "c": 0.16369,
    "h": 316.1
  },
  "luminance": 0.37262
}

Semantic roles & 50–950 ramp

primary
#D287EF
secondary
#DFF3D8
accent
#D90D46
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D287EF

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

Preview Lab → · Contrast checker → · Palette generator →

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