#D581DE#D581DE

#D581DE is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.5% C 0.158 H 323.5°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#D581DE
RGBrgb(213, 129, 222)
HSLhsl(294, 58%, 69%)
HSVhsv(294, 42%, 87%)
CMYKcmyk(4.1%, 41.9%, 0%, 12.9%)
CIE-LABlab(65.84, 46.70, -34.19)
CIE-LCHlch(65.84, 57.88, 323.79°)
OKLaboklab(72.46% 0.1267 -0.0938)
OKLCHoklch(72.46% 0.158 323.5)
XYZxyz(48.4743, 35.1225, 73.3190)
Luminance0.3512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581DE #8ADE81
analogous
#A781DE #D581DE #DE81B9
triadic
#D581DE #DED581 #81DED5
tetradic
#D581DE #DEA781 #8ADE81 #81B9DE
square
#D581DE #DEA781 #8ADE81 #81B9DE
split-complementary
#D581DE #B9DE81 #81DEA7
monochromatic
#A82FB5 #C551D1 #D581DE #E5B1EB #F5E2F7

Accessibility & contrast

On white

2.62
#D581DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#D581DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581DE
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581DE#FFFFFF#000000##000000
##D581DE1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#769AE1
Deuteranopia (green-blind)
#8DA3DB
Tritanopia (blue-blind)
#D88BA5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d581de;
/* rgb */ color: rgb(213, 129, 222);
/* oklch */ color: oklch(72.5% 0.158 323.5);
Tailwind
colors: {
  custom: {
    50: '#e3a7e8',
    500: '#d581de',
    950: '#000000',
  },
}
SCSS
$custom: #d581de;
$custom-light: #e3a7e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d581de",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 222
  },
  "hsl": {
    "h": 294.194,
    "s": 58.491,
    "l": 68.824
  },
  "oklch": {
    "l": 0.72457,
    "c": 0.15763,
    "h": 323.5
  },
  "luminance": 0.35121
}

Semantic roles & 50–950 ramp

primary
#D581DE
secondary
#D2EBD0
accent
#C61F30
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D581DE

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

Preview Lab → · Contrast checker → · Palette generator →

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