#D581E4#D581E4

#D581E4 is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.7% C 0.164 H 321.4°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#D581E4
RGBrgb(213, 129, 228)
HSLhsl(291, 65%, 70%)
HSVhsv(291, 43%, 89%)
CMYKcmyk(6.6%, 43.4%, 0%, 10.6%)
CIE-LABlab(66.10, 47.85, -37.12)
CIE-LCHlch(66.10, 60.56, 322.19°)
OKLaboklab(72.73% 0.1278 -0.1022)
OKLCHoklch(72.73% 0.164 321.4)
XYZxyz(49.2928, 35.4499, 77.6297)
Luminance0.3545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581E4 #90E481
analogous
#A381E4 #D581E4 #E481C2
triadic
#D581E4 #E4D581 #81E4D5
tetradic
#D581E4 #E4A381 #90E481 #81C2E4
square
#D581E4 #E4A381 #90E481 #81C2E4
split-complementary
#D581E4 #C2E481 #81E4A3
monochromatic
#AA29C1 #C44FD9 #D581E4 #E6B3EF #F7E6FA

Accessibility & contrast

On white

2.60
#D581E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#D581E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581E4
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581E4#FFFFFF#000000##000000
##D581E41.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#749BE7
Deuteranopia (green-blind)
#8BA4E1
Tritanopia (blue-blind)
#D78DA8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d581e4;
/* rgb */ color: rgb(213, 129, 228);
/* oklch */ color: oklch(72.7% 0.164 321.4);
Tailwind
colors: {
  custom: {
    50: '#e3a8ed',
    500: '#d581e4',
    950: '#000000',
  },
}
SCSS
$custom: #d581e4;
$custom-light: #e3a8ed;
$custom-dark: #000000;
JSON
{
  "hex": "#d581e4",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 228
  },
  "hsl": {
    "h": 290.909,
    "s": 64.706,
    "l": 70
  },
  "oklch": {
    "l": 0.72729,
    "c": 0.16365,
    "h": 321.4
  },
  "luminance": 0.35448
}

Semantic roles & 50–950 ramp

primary
#D581E4
secondary
#D7EED3
accent
#CD1934
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D581E4

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

Preview Lab → · Contrast checker → · Palette generator →

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