#D587EC#D587EC

#D587EC is a light, vivid purple. Relative luminance 0.375; OKLCH L 74.0% C 0.162 H 318.2°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#D587EC
RGBrgb(213, 135, 236)
HSLhsl(286, 73%, 73%)
HSVhsv(286, 43%, 93%)
CMYKcmyk(9.7%, 42.8%, 0%, 7.5%)
CIE-LABlab(67.67, 46.28, -39.08)
CIE-LCHlch(67.67, 60.57, 319.82°)
OKLaboklab(74.02% 0.1208 -0.1078)
OKLCHoklch(74.02% 0.162 318.2)
XYZxyz(51.2428, 37.5318, 83.8857)
Luminance0.3753 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D587EC #9EEC87
analogous
#A387EC #D587EC #EC87D0
triadic
#D587EC #ECD587 #87ECD5
tetradic
#D587EC #ECA387 #9EEC87 #87D0EC
square
#D587EC #ECA387 #9EEC87 #87D0EC
split-complementary
#D587EC #D0EC87 #87ECA3
monochromatic
#AD22D7 #C352E4 #D587EC #E7BCF4 #F6E5FB

Accessibility & contrast

On white

2.47
#D587EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#D587EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D587EC
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D587EC#FFFFFF#000000##000000
##D587EC1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F0
Deuteranopia (green-blind)
#8CA8E9
Tritanopia (blue-blind)
#D594AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d587ec;
/* rgb */ color: rgb(213, 135, 236);
/* oklch */ color: oklch(74.0% 0.162 318.2);
Tailwind
colors: {
  custom: {
    50: '#e3acf2',
    500: '#d587ec',
    950: '#000000',
  },
}
SCSS
$custom: #d587ec;
$custom-light: #e3acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d587ec",
  "rgb": {
    "r": 213,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 286.337,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74021,
    "c": 0.16192,
    "h": 318.2
  },
  "luminance": 0.3753
}

Semantic roles & 50–950 ramp

primary
#D587EC
secondary
#DEF2D9
accent
#D5113D
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D587EC

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

Preview Lab → · Contrast checker → · Palette generator →

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