#D591EC#D591EC

#D591EC is a light, vivid purple. Relative luminance 0.405; OKLCH L 75.6% C 0.145 H 317.3°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#D591EC
RGBrgb(213, 145, 236)
HSLhsl(285, 71%, 75%)
HSVhsv(285, 39%, 93%)
CMYKcmyk(9.7%, 38.6%, 0%, 7.5%)
CIE-LABlab(69.79, 40.98, -35.78)
CIE-LCHlch(69.79, 54.41, 318.87°)
OKLaboklab(75.61% 0.1066 -0.0984)
OKLCHoklch(75.61% 0.145 317.3)
XYZxyz(52.7041, 40.4545, 84.3728)
Luminance0.4045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D591EC #A8EC91
analogous
#A891EC #D591EC #EC91D6
triadic
#D591EC #ECD591 #91ECD5
tetradic
#D591EC #ECA891 #A8EC91 #91D6EC
square
#D591EC #ECA891 #A8EC91 #91D6EC
split-complementary
#D591EC #D6EC91 #91ECA8
monochromatic
#AD29DA #C15DE3 #D591EC #E9C5F5 #F5E5FA

Accessibility & contrast

On white

2.31
#D591EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#D591EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D591EC
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D591EC#FFFFFF#000000##000000
##D591EC1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A6EF
Deuteranopia (green-blind)
#94ADE9
Tritanopia (blue-blind)
#D59DB4
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d591ec;
/* rgb */ color: rgb(213, 145, 236);
/* oklch */ color: oklch(75.6% 0.145 317.3);
Tailwind
colors: {
  custom: {
    50: '#e3b2f2',
    500: '#d591ec',
    950: '#000000',
  },
}
SCSS
$custom: #d591ec;
$custom-light: #e3b2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d591ec",
  "rgb": {
    "r": 213,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 284.835,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75612,
    "c": 0.14507,
    "h": 317.3
  },
  "luminance": 0.40453
}

Semantic roles & 50–950 ramp

primary
#D591EC
secondary
#DFF2D9
accent
#D31343
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D591EC

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

Preview Lab → · Contrast checker → · Palette generator →

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