#D581EB#D581EB

#D581EB is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.1% C 0.171 H 319.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#D581EB
RGBrgb(213, 129, 235)
HSLhsl(288, 73%, 71%)
HSVhsv(288, 45%, 92%)
CMYKcmyk(9.4%, 45.1%, 0%, 7.8%)
CIE-LABlab(66.40, 49.21, -40.52)
CIE-LCHlch(66.40, 63.74, 320.53°)
OKLaboklab(73.06% 0.129 -0.1119)
OKLCHoklch(73.06% 0.171 319.1)
XYZxyz(50.2843, 35.8465, 82.8514)
Luminance0.3584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581EB #97EB81
analogous
#A081EB #D581EB #EB81CC
triadic
#D581EB #EBD581 #81EBD5
tetradic
#D581EB #EBA081 #97EB81 #81CCEB
square
#D581EB #EBA081 #97EB81 #81CCEB
split-complementary
#D581EB #CCEB81 #81EBA0
monochromatic
#AC21D1 #C34CE3 #D581EB #E7B6F3 #F6E5FB

Accessibility & contrast

On white

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

On black

8.17
#D581EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581EB
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581EB#FFFFFF#000000##000000
##D581EB1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CEF
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#D68FAB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d581eb;
/* rgb */ color: rgb(213, 129, 235);
/* oklch */ color: oklch(73.1% 0.171 319.1);
Tailwind
colors: {
  custom: {
    50: '#e4a8f2',
    500: '#d581eb',
    950: '#000000',
  },
}
SCSS
$custom: #d581eb;
$custom-light: #e4a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d581eb",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 287.547,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73057,
    "c": 0.17081,
    "h": 319.1
  },
  "luminance": 0.35845
}

Semantic roles & 50–950 ramp

primary
#D581EB
secondary
#DCF2D6
accent
#D51139
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D581EB

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

Preview Lab → · Contrast checker → · Palette generator →

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