#D581E2#D581E2

#D581E2 is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.6% C 0.162 H 322.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#D581E2
RGBrgb(213, 129, 226)
HSLhsl(292, 63%, 70%)
HSVhsv(292, 43%, 89%)
CMYKcmyk(5.8%, 42.9%, 0%, 11.4%)
CIE-LABlab(66.01, 47.46, -36.15)
CIE-LCHlch(66.01, 59.66, 322.71°)
OKLaboklab(72.64% 0.1275 -0.0994)
OKLCHoklch(72.64% 0.162 322.1)
XYZxyz(49.0168, 35.3395, 76.1760)
Luminance0.3534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581E2 #8EE281
analogous
#A581E2 #D581E2 #E281BF
triadic
#D581E2 #E2D581 #81E2D5
tetradic
#D581E2 #E2A581 #8EE281 #81BFE2
square
#D581E2 #E2A581 #8EE281 #81BFE2
split-complementary
#D581E2 #BFE281 #81E2A5
monochromatic
#AA2CBD #C44FD7 #D581E2 #E6B3ED #F6E4F9

Accessibility & contrast

On white

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

On black

8.07
#D581E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581E2
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581E2#FFFFFF#000000##000000
##D581E21.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#759AE5
Deuteranopia (green-blind)
#8BA4DF
Tritanopia (blue-blind)
#D78DA7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d581e2;
/* rgb */ color: rgb(213, 129, 226);
/* oklch */ color: oklch(72.6% 0.162 322.1);
Tailwind
colors: {
  custom: {
    50: '#e3a7eb',
    500: '#d581e2',
    950: '#000000',
  },
}
SCSS
$custom: #d581e2;
$custom-light: #e3a7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d581e2",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 226
  },
  "hsl": {
    "h": 291.959,
    "s": 62.581,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72638,
    "c": 0.16163,
    "h": 322.1
  },
  "luminance": 0.35338
}

Semantic roles & 50–950 ramp

primary
#D581E2
secondary
#D5EDD2
accent
#CA1B33
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D581E2

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

Preview Lab → · Contrast checker → · Palette generator →

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