#D581E1#D581E1

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

Color values

HEX#D581E1
RGBrgb(213, 129, 225)
HSLhsl(293, 62%, 69%)
HSVhsv(293, 43%, 88%)
CMYKcmyk(5.3%, 42.7%, 0%, 11.8%)
CIE-LABlab(65.97, 47.27, -35.66)
CIE-LCHlch(65.97, 59.21, 322.97°)
OKLaboklab(72.59% 0.1273 -0.098)
OKLCHoklch(72.59% 0.161 322.4)
XYZxyz(48.8800, 35.2848, 75.4554)
Luminance0.3528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581E1 #8DE181
analogous
#A581E1 #D581E1 #E181BD
triadic
#D581E1 #E1D581 #81E1D5
tetradic
#D581E1 #E1A581 #8DE181 #81BDE1
square
#D581E1 #E1A581 #8DE181 #81BDE1
split-complementary
#D581E1 #BDE181 #81E1A5
monochromatic
#A92DBB #C550D5 #D581E1 #E5B2ED #F6E4F9

Accessibility & contrast

On white

2.61
#D581E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#D581E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581E1
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581E1#FFFFFF#000000##000000
##D581E11.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#759AE4
Deuteranopia (green-blind)
#8CA4DE
Tritanopia (blue-blind)
#D88CA6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d581e1;
/* rgb */ color: rgb(213, 129, 225);
/* oklch */ color: oklch(72.6% 0.161 322.4);
Tailwind
colors: {
  custom: {
    50: '#e3a7ea',
    500: '#d581e1',
    950: '#000000',
  },
}
SCSS
$custom: #d581e1;
$custom-light: #e3a7ea;
$custom-dark: #000000;
JSON
{
  "hex": "#d581e1",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 225
  },
  "hsl": {
    "h": 292.5,
    "s": 61.538,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72592,
    "c": 0.16063,
    "h": 322.4
  },
  "luminance": 0.35283
}

Semantic roles & 50–950 ramp

primary
#D581E1
secondary
#D5EDD1
accent
#C91C32
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D581E1

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

Preview Lab → · Contrast checker → · Palette generator →

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