#D581EA#D581EA

#D581EA is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.0% C 0.170 H 319.4°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#D581EA
RGBrgb(213, 129, 234)
HSLhsl(288, 71%, 71%)
HSVhsv(288, 45%, 92%)
CMYKcmyk(9%, 44.9%, 0%, 8.2%)
CIE-LABlab(66.36, 49.01, -40.03)
CIE-LCHlch(66.36, 63.28, 320.76°)
OKLaboklab(73.01% 0.1289 -0.1105)
OKLCHoklch(73.01% 0.17 319.4)
XYZxyz(50.1402, 35.7889, 82.0927)
Luminance0.3579 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581EA #96EA81
analogous
#A081EA #D581EA #EA81CA
triadic
#D581EA #EAD581 #81EAD5
tetradic
#D581EA #EAA081 #96EA81 #81CAEA
square
#D581EA #EAA081 #96EA81 #81CAEA
split-complementary
#D581EA #CAEA81 #81EAA0
monochromatic
#AC22CE #C44DE1 #D581EA #E6B5F3 #F6E5FB

Accessibility & contrast

On white

2.57
#D581EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#D581EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581EA
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581EA#FFFFFF#000000##000000
##D581EA1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEE
Deuteranopia (green-blind)
#88A4E7
Tritanopia (blue-blind)
#D68FAB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d581ea;
/* rgb */ color: rgb(213, 129, 234);
/* oklch */ color: oklch(73.0% 0.170 319.4);
Tailwind
colors: {
  custom: {
    50: '#e4a8f1',
    500: '#d581ea',
    950: '#000000',
  },
}
SCSS
$custom: #d581ea;
$custom-light: #e4a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d581ea",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 288,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7301,
    "c": 0.16978,
    "h": 319.4
  },
  "luminance": 0.35787
}

Semantic roles & 50–950 ramp

primary
#D581EA
secondary
#DBF1D6
accent
#D31239
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D581EA

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

Preview Lab → · Contrast checker → · Palette generator →

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