#D586EF#D586EF

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

Color values

HEX#D586EF
RGBrgb(213, 134, 239)
HSLhsl(285, 77%, 73%)
HSVhsv(285, 44%, 94%)
CMYKcmyk(10.9%, 43.9%, 0%, 6.3%)
CIE-LABlab(67.60, 47.40, -40.85)
CIE-LCHlch(67.60, 62.57, 319.25°)
OKLaboklab(74.01% 0.1227 -0.1129)
OKLCHoklch(74.01% 0.167 317.4)
XYZxyz(51.5434, 37.4299, 86.1541)
Luminance0.3743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D586EF #A0EF86
analogous
#A086EF #D586EF #EF86D4
triadic
#D586EF #EFD586 #86EFD5
tetradic
#D586EF #EFA086 #A0EF86 #86D4EF
square
#D586EF #EFA086 #A0EF86 #86D4EF
split-complementary
#D586EF #D4EF86 #86EFA0
monochromatic
#AE1DDD #C250E8 #D586EF #E8BCF6 #F6E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D586EF#FFFFFF#000000##000000
##D586EF1.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)
#74A0F3
Deuteranopia (green-blind)
#8AA7EC
Tritanopia (blue-blind)
#D594AF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d586ef;
/* rgb */ color: rgb(213, 134, 239);
/* oklch */ color: oklch(74.0% 0.167 317.4);
Tailwind
colors: {
  custom: {
    50: '#e4abf4',
    500: '#d586ef',
    950: '#000000',
  },
}
SCSS
$custom: #d586ef;
$custom-light: #e4abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d586ef",
  "rgb": {
    "r": 213,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 285.143,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74007,
    "c": 0.16675,
    "h": 317.4
  },
  "luminance": 0.37428
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D586EF

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

Preview Lab → · Contrast checker → · Palette generator →

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