#D581DF#D581DF

#D581DF is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.5% C 0.159 H 323.1°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#D581DF
RGBrgb(213, 129, 223)
HSLhsl(294, 59%, 69%)
HSVhsv(294, 42%, 87%)
CMYKcmyk(4.5%, 42.2%, 0%, 12.5%)
CIE-LABlab(65.89, 46.89, -34.68)
CIE-LCHlch(65.89, 58.32, 323.51°)
OKLaboklab(72.5% 0.1269 -0.0952)
OKLCHoklch(72.5% 0.159 323.1)
XYZxyz(48.6087, 35.1763, 74.0270)
Luminance0.3517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581DF #8BDF81
analogous
#A681DF #D581DF #DF81BA
triadic
#D581DF #DFD581 #81DFD5
tetradic
#D581DF #DFA681 #8BDF81 #81BADF
square
#D581DF #DFA681 #8BDF81 #81BADF
split-complementary
#D581DF #BADF81 #81DFA6
monochromatic
#A92FB7 #C550D3 #D581DF #E5B2EB #F6E3F8

Accessibility & contrast

On white

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

On black

8.03
#D581DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581DF
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581DF#FFFFFF#000000##000000
##D581DF1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#769AE2
Deuteranopia (green-blind)
#8DA4DC
Tritanopia (blue-blind)
#D88CA6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d581df;
/* rgb */ color: rgb(213, 129, 223);
/* oklch */ color: oklch(72.5% 0.159 323.1);
Tailwind
colors: {
  custom: {
    50: '#e3a7e9',
    500: '#d581df',
    950: '#000000',
  },
}
SCSS
$custom: #d581df;
$custom-light: #e3a7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d581df",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 293.617,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72502,
    "c": 0.15863,
    "h": 323.1
  },
  "luminance": 0.35174
}

Semantic roles & 50–950 ramp

primary
#D581DF
secondary
#D3ECD0
accent
#C71E30
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D581DF

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

Preview Lab → · Contrast checker → · Palette generator →

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