#D581E9#D581E9

#D581E9 is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.0% C 0.169 H 319.7°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#D581E9
RGBrgb(213, 129, 233)
HSLhsl(288, 70%, 71%)
HSVhsv(288, 45%, 91%)
CMYKcmyk(8.6%, 44.6%, 0%, 8.6%)
CIE-LABlab(66.31, 48.82, -39.55)
CIE-LCHlch(66.31, 62.83, 320.99°)
OKLaboklab(72.96% 0.1287 -0.1091)
OKLCHoklch(72.96% 0.169 319.7)
XYZxyz(49.9969, 35.7316, 81.3382)
Luminance0.3573 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581E9 #95E981
analogous
#A181E9 #D581E9 #E981C9
triadic
#D581E9 #E9D581 #81E9D5
tetradic
#D581E9 #E9A181 #95E981 #81C9E9
square
#D581E9 #E9A181 #95E981 #81C9E9
split-complementary
#D581E9 #C9E981 #81E9A1
monochromatic
#AC24CC #C44DE0 #D581E9 #E6B5F2 #F6E5FA

Accessibility & contrast

On white

2.58
#D581E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#D581E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581E9
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581E9#FFFFFF#000000##000000
##D581E91.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#719BED
Deuteranopia (green-blind)
#88A4E6
Tritanopia (blue-blind)
#D68EAA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d581e9;
/* rgb */ color: rgb(213, 129, 233);
/* oklch */ color: oklch(73.0% 0.169 319.7);
Tailwind
colors: {
  custom: {
    50: '#e4a8f0',
    500: '#d581e9',
    950: '#000000',
  },
}
SCSS
$custom: #d581e9;
$custom-light: #e4a8f0;
$custom-dark: #000000;
JSON
{
  "hex": "#d581e9",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 233
  },
  "hsl": {
    "h": 288.462,
    "s": 70.27,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72962,
    "c": 0.16875,
    "h": 319.7
  },
  "luminance": 0.3573
}

Semantic roles & 50–950 ramp

primary
#D581E9
secondary
#DAF1D5
accent
#D21338
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D581E9

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

Preview Lab → · Contrast checker → · Palette generator →

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