#D586F9#D586F9

#D586F9 is a light, vivid purple. Relative luminance 0.380; OKLCH L 74.5% C 0.177 H 314.4°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#D586F9
RGBrgb(213, 134, 249)
HSLhsl(281, 91%, 75%)
HSVhsv(281, 46%, 98%)
CMYKcmyk(14.5%, 46.2%, 0%, 2.4%)
CIE-LABlab(68.05, 49.43, -45.63)
CIE-LCHlch(68.05, 67.27, 317.29°)
OKLaboklab(74.49% 0.1243 -0.1267)
OKLCHoklch(74.49% 0.177 314.4)
XYZxyz(53.0618, 38.0372, 94.1509)
Luminance0.3804 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D586F9 #AAF986
analogous
#9B86F9 #D586F9 #F986E4
triadic
#D586F9 #F9D586 #86F9D5
tetradic
#D586F9 #F99B86 #AAF986 #86E4F9
square
#D586F9 #F99B86 #AAF986 #86E4F9
split-complementary
#D586F9 #E4F986 #86F99B
monochromatic
#AD11F3 #C14CF6 #D586F9 #E9C0FC #F5E2FE

Accessibility & contrast

On white

2.44
#D586F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#D586F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D586F9
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D586F9#FFFFFF#000000##000000
##D586F91.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FD
Deuteranopia (green-blind)
#85A8F6
Tritanopia (blue-blind)
#D297B4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d586f9;
/* rgb */ color: rgb(213, 134, 249);
/* oklch */ color: oklch(74.5% 0.177 314.4);
Tailwind
colors: {
  custom: {
    50: '#e4abfb',
    500: '#d586f9',
    950: '#000000',
  },
}
SCSS
$custom: #d586f9;
$custom-light: #e4abfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d586f9",
  "rgb": {
    "r": 213,
    "g": 134,
    "b": 249
  },
  "hsl": {
    "h": 281.217,
    "s": 90.551,
    "l": 75.098
  },
  "oklch": {
    "l": 0.7449,
    "c": 0.17746,
    "h": 314.4
  },
  "luminance": 0.38036
}

Semantic roles & 50–950 ramp

primary
#D586F9
secondary
#DFF6D5
accent
#E60048
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D586F9

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

Preview Lab → · Contrast checker → · Palette generator →

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