#D586EC#D586EC

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

Color values

HEX#D586EC
RGBrgb(213, 134, 236)
HSLhsl(286, 73%, 73%)
HSVhsv(286, 43%, 93%)
CMYKcmyk(9.7%, 43.2%, 0%, 7.5%)
CIE-LABlab(67.47, 46.80, -39.40)
CIE-LCHlch(67.47, 61.18, 319.91°)
OKLaboklab(73.87% 0.1222 -0.1087)
OKLCHoklch(73.87% 0.164 318.3)
XYZxyz(51.1039, 37.2541, 83.8394)
Luminance0.3725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D586EC #9DEC86
analogous
#A286EC #D586EC #EC86D0
triadic
#D586EC #ECD586 #86ECD5
tetradic
#D586EC #ECA286 #9DEC86 #86D0EC
square
#D586EC #ECA286 #9DEC86 #86D0EC
split-complementary
#D586EC #D0EC86 #86ECA2
monochromatic
#AD22D6 #C351E4 #D586EC #E7BBF4 #F6E5FB

Accessibility & contrast

On white

2.49
#D586EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D586EC#FFFFFF#000000##000000
##D586EC1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FF0
Deuteranopia (green-blind)
#8BA7E9
Tritanopia (blue-blind)
#D593AE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d586ec;
/* rgb */ color: rgb(213, 134, 236);
/* oklch */ color: oklch(73.9% 0.164 318.3);
Tailwind
colors: {
  custom: {
    50: '#e3abf2',
    500: '#d586ec',
    950: '#000000',
  },
}
SCSS
$custom: #d586ec;
$custom-light: #e3abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d586ec",
  "rgb": {
    "r": 213,
    "g": 134,
    "b": 236
  },
  "hsl": {
    "h": 286.471,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73866,
    "c": 0.16358,
    "h": 318.3
  },
  "luminance": 0.37252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D586EC

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

Preview Lab → · Contrast checker → · Palette generator →

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