#D587EF#D587EF

#D587EF is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.2% C 0.165 H 317.3°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#D587EF
RGBrgb(213, 135, 239)
HSLhsl(285, 76%, 73%)
HSVhsv(285, 44%, 94%)
CMYKcmyk(10.9%, 43.5%, 0%, 6.3%)
CIE-LABlab(67.80, 46.88, -40.53)
CIE-LCHlch(67.80, 61.97, 319.16°)
OKLaboklab(74.16% 0.1213 -0.112)
OKLCHoklch(74.16% 0.165 317.3)
XYZxyz(51.6823, 37.7076, 86.2004)
Luminance0.3771 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D587EF #A1EF87
analogous
#A187EF #D587EF #EF87D5
triadic
#D587EF #EFD587 #87EFD5
tetradic
#D587EF #EFA187 #A1EF87 #87D5EF
square
#D587EF #EFA187 #A1EF87 #87D5EF
split-complementary
#D587EF #D5EF87 #87EFA1
monochromatic
#AE1EDE #C251E8 #D587EF #E8BDF6 #F6E4FB

Accessibility & contrast

On white

2.46
#D587EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#D587EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D587EF
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D587EF#FFFFFF#000000##000000
##D587EF1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F3
Deuteranopia (green-blind)
#8AA8EC
Tritanopia (blue-blind)
#D595B0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d587ef;
/* rgb */ color: rgb(213, 135, 239);
/* oklch */ color: oklch(74.2% 0.165 317.3);
Tailwind
colors: {
  custom: {
    50: '#e3acf4',
    500: '#d587ef',
    950: '#000000',
  },
}
SCSS
$custom: #d587ef;
$custom-light: #e3acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d587ef",
  "rgb": {
    "r": 213,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 285,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74161,
    "c": 0.1651,
    "h": 317.3
  },
  "luminance": 0.37706
}

Semantic roles & 50–950 ramp

primary
#D587EF
secondary
#DFF3D8
accent
#D90D40
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D587EF

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

Preview Lab → · Contrast checker → · Palette generator →

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