#D586F2#D586F2

#D586F2 is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.2% C 0.170 H 316.5°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#D586F2
RGBrgb(213, 134, 242)
HSLhsl(284, 81%, 74%)
HSVhsv(284, 45%, 95%)
CMYKcmyk(12%, 44.6%, 0%, 5.1%)
CIE-LABlab(67.73, 48.00, -42.29)
CIE-LCHlch(67.73, 63.97, 318.62°)
OKLaboklab(74.15% 0.1232 -0.117)
OKLCHoklch(74.15% 0.17 316.5)
XYZxyz(51.9903, 37.6086, 88.5077)
Luminance0.3761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D586F2 #A3F286
analogous
#9F86F2 #D586F2 #F286D9
triadic
#D586F2 #F2D586 #86F2D5
tetradic
#D586F2 #F29F86 #A3F286 #86D9F2
square
#D586F2 #F29F86 #A3F286 #86D9F2
split-complementary
#D586F2 #D9F286 #86F29F
monochromatic
#AE19E5 #C24FEC #D586F2 #E8BDF8 #F5E3FC

Accessibility & contrast

On white

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

On black

8.52
#D586F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D586F2
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D586F2#FFFFFF#000000##000000
##D586F21.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#88A7EF
Tritanopia (blue-blind)
#D495B1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d586f2;
/* rgb */ color: rgb(213, 134, 242);
/* oklch */ color: oklch(74.2% 0.170 316.5);
Tailwind
colors: {
  custom: {
    50: '#e4abf6',
    500: '#d586f2',
    950: '#000000',
  },
}
SCSS
$custom: #d586f2;
$custom-light: #e4abf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d586f2",
  "rgb": {
    "r": 213,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 283.889,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7415,
    "c": 0.16995,
    "h": 316.5
  },
  "luminance": 0.37607
}

Semantic roles & 50–950 ramp

primary
#D586F2
secondary
#DFF4D7
accent
#DD0942
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D586F2

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

Preview Lab → · Contrast checker → · Palette generator →

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