#D581E6#D581E6

#D581E6 is a light, vivid purple. Relative luminance 0.356; OKLCH L 72.8% C 0.166 H 320.7°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#D581E6
RGBrgb(213, 129, 230)
HSLhsl(290, 67%, 70%)
HSVhsv(290, 44%, 90%)
CMYKcmyk(7.4%, 43.9%, 0%, 9.8%)
CIE-LABlab(66.18, 48.23, -38.10)
CIE-LCHlch(66.18, 61.46, 321.70°)
OKLaboklab(72.82% 0.1282 -0.1049)
OKLCHoklch(72.82% 0.166 320.7)
XYZxyz(49.5720, 35.5616, 79.1004)
Luminance0.3556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581E6 #92E681
analogous
#A281E6 #D581E6 #E681C4
triadic
#D581E6 #E6D581 #81E6D5
tetradic
#D581E6 #E6A281 #92E681 #81C4E6
square
#D581E6 #E6A281 #92E681 #81C4E6
split-complementary
#D581E6 #C4E681 #81E6A2
monochromatic
#AB27C5 #C44EDC #D581E6 #E6B4F0 #F6E5FA

Accessibility & contrast

On white

2.59
#D581E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#D581E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581E6
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581E6#FFFFFF#000000##000000
##D581E61.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#739BEA
Deuteranopia (green-blind)
#8AA4E3
Tritanopia (blue-blind)
#D78EA9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d581e6;
/* rgb */ color: rgb(213, 129, 230);
/* oklch */ color: oklch(72.8% 0.166 320.7);
Tailwind
colors: {
  custom: {
    50: '#e4a8ee',
    500: '#d581e6',
    950: '#000000',
  },
}
SCSS
$custom: #d581e6;
$custom-light: #e4a8ee;
$custom-dark: #000000;
JSON
{
  "hex": "#d581e6",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 230
  },
  "hsl": {
    "h": 289.901,
    "s": 66.887,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72822,
    "c": 0.16568,
    "h": 320.7
  },
  "luminance": 0.3556
}

Semantic roles & 50–950 ramp

primary
#D581E6
secondary
#D8EFD4
accent
#CF1736
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D581E6

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

Preview Lab → · Contrast checker → · Palette generator →

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