#D587EB#D587EB

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

Color values

HEX#D587EB
RGBrgb(213, 135, 235)
HSLhsl(287, 71%, 73%)
HSVhsv(287, 43%, 92%)
CMYKcmyk(9.4%, 42.6%, 0%, 7.8%)
CIE-LABlab(67.63, 46.08, -38.60)
CIE-LCHlch(67.63, 60.11, 320.05°)
OKLaboklab(73.98% 0.1206 -0.1064)
OKLCHoklch(73.98% 0.161 318.6)
XYZxyz(51.0979, 37.4739, 83.1227)
Luminance0.3747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D587EB #9DEB87
analogous
#A387EB #D587EB #EB87CF
triadic
#D587EB #EBD587 #87EBD5
tetradic
#D587EB #EBA387 #9DEB87 #87CFEB
square
#D587EB #EBA387 #9DEB87 #87CFEB
split-complementary
#D587EB #CFEB87 #87EBA3
monochromatic
#AD23D4 #C353E2 #D587EB #E7BBF4 #F6E5FB

Accessibility & contrast

On white

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

On black

8.49
#D587EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D587EB
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D587EB#FFFFFF#000000##000000
##D587EB1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0EF
Deuteranopia (green-blind)
#8CA7E8
Tritanopia (blue-blind)
#D594AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d587eb;
/* rgb */ color: rgb(213, 135, 235);
/* oklch */ color: oklch(74.0% 0.161 318.6);
Tailwind
colors: {
  custom: {
    50: '#e3acf2',
    500: '#d587eb',
    950: '#000000',
  },
}
SCSS
$custom: #d587eb;
$custom-light: #e3acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d587eb",
  "rgb": {
    "r": 213,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 286.8,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73975,
    "c": 0.16086,
    "h": 318.6
  },
  "luminance": 0.37472
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D587EB

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

Preview Lab → · Contrast checker → · Palette generator →

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