#D581DD#D581DD

#D581DD is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.4% C 0.157 H 323.9°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#D581DD
RGBrgb(213, 129, 221)
HSLhsl(295, 58%, 69%)
HSVhsv(295, 42%, 87%)
CMYKcmyk(3.6%, 41.6%, 0%, 13.3%)
CIE-LABlab(65.80, 46.52, -33.70)
CIE-LCHlch(65.80, 57.44, 324.08°)
OKLaboklab(72.41% 0.1265 -0.0924)
OKLCHoklch(72.41% 0.157 323.9)
XYZxyz(48.3407, 35.0691, 72.6153)
Luminance0.3507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581DD #89DD81
analogous
#A781DD #D581DD #DD81B7
triadic
#D581DD #DDD581 #81DDD5
tetradic
#D581DD #DDA781 #89DD81 #81B7DD
square
#D581DD #DDA781 #89DD81 #81B7DD
split-complementary
#D581DD #B7DD81 #81DDA7
monochromatic
#A830B3 #C551D0 #D581DD #E5B1EA #F5E1F7

Accessibility & contrast

On white

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

On black

8.01
#D581DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581DD
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581DD#FFFFFF#000000##000000
##D581DD1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799E0
Deuteranopia (green-blind)
#8EA3DA
Tritanopia (blue-blind)
#D88BA5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d581dd;
/* rgb */ color: rgb(213, 129, 221);
/* oklch */ color: oklch(72.4% 0.157 323.9);
Tailwind
colors: {
  custom: {
    50: '#e3a7e8',
    500: '#d581dd',
    950: '#000000',
  },
}
SCSS
$custom: #d581dd;
$custom-light: #e3a7e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d581dd",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 221
  },
  "hsl": {
    "h": 294.783,
    "s": 57.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72412,
    "c": 0.15664,
    "h": 323.9
  },
  "luminance": 0.35067
}

Semantic roles & 50–950 ramp

primary
#D581DD
secondary
#D2EBCF
accent
#C5202F
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D581DD

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

Preview Lab → · Contrast checker → · Palette generator →

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