#D581E5#D581E5

#D581E5 is a light, vivid purple. Relative luminance 0.355; OKLCH L 72.8% C 0.165 H 321.0°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#D581E5
RGBrgb(213, 129, 229)
HSLhsl(290, 66%, 70%)
HSVhsv(290, 44%, 90%)
CMYKcmyk(7%, 43.7%, 0%, 10.2%)
CIE-LABlab(66.14, 48.04, -37.61)
CIE-LCHlch(66.14, 61.01, 321.94°)
OKLaboklab(72.78% 0.128 -0.1035)
OKLCHoklch(72.78% 0.165 321)
XYZxyz(49.4320, 35.5056, 78.3629)
Luminance0.3550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581E5 #91E581
analogous
#A381E5 #D581E5 #E581C3
triadic
#D581E5 #E5D581 #81E5D5
tetradic
#D581E5 #E5A381 #91E581 #81C3E5
square
#D581E5 #E5A381 #91E581 #81C3E5
split-complementary
#D581E5 #C3E581 #81E5A3
monochromatic
#AA28C3 #C44EDB #D581E5 #E6B4EF #F7E6FA

Accessibility & contrast

On white

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

On black

8.10
#D581E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581E5
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581E5#FFFFFF#000000##000000
##D581E51.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#739BE9
Deuteranopia (green-blind)
#8AA4E2
Tritanopia (blue-blind)
#D78DA8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d581e5;
/* rgb */ color: rgb(213, 129, 229);
/* oklch */ color: oklch(72.8% 0.165 321.0);
Tailwind
colors: {
  custom: {
    50: '#e3a8ed',
    500: '#d581e5',
    950: '#000000',
  },
}
SCSS
$custom: #d581e5;
$custom-light: #e3a8ed;
$custom-dark: #000000;
JSON
{
  "hex": "#d581e5",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 229
  },
  "hsl": {
    "h": 290.4,
    "s": 65.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72776,
    "c": 0.16466,
    "h": 321
  },
  "luminance": 0.35504
}

Semantic roles & 50–950 ramp

primary
#D581E5
secondary
#D7EFD3
accent
#CE1835
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D581E5

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

Preview Lab → · Contrast checker → · Palette generator →

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