#D581DC#D581DC

#D581DC is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.4% C 0.156 H 324.2°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#D581DC
RGBrgb(213, 129, 220)
HSLhsl(295, 57%, 68%)
HSVhsv(295, 41%, 86%)
CMYKcmyk(3.2%, 41.4%, 0%, 13.7%)
CIE-LABlab(65.76, 46.33, -33.21)
CIE-LCHlch(65.76, 57.00, 324.37°)
OKLaboklab(72.37% 0.1263 -0.091)
OKLCHoklch(72.37% 0.156 324.2)
XYZxyz(48.2079, 35.0160, 71.9157)
Luminance0.3501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581DC #88DC81
analogous
#A781DC #D581DC #DC81B5
triadic
#D581DC #DCD581 #81DCD5
tetradic
#D581DC #DCA781 #88DC81 #81B5DC
square
#D581DC #DCA781 #88DC81 #81B5DC
split-complementary
#D581DC #B5DC81 #81DCA7
monochromatic
#A731B1 #C551CF #D581DC #E5B1E9 #F5E1F7

Accessibility & contrast

On white

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

On black

8.00
#D581DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581DC
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581DC#FFFFFF#000000##000000
##D581DC1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DF
Deuteranopia (green-blind)
#8EA3D9
Tritanopia (blue-blind)
#D98BA4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d581dc;
/* rgb */ color: rgb(213, 129, 220);
/* oklch */ color: oklch(72.4% 0.156 324.2);
Tailwind
colors: {
  custom: {
    50: '#e3a7e7',
    500: '#d581dc',
    950: '#000000',
  },
}
SCSS
$custom: #d581dc;
$custom-light: #e3a7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d581dc",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 295.385,
    "s": 56.522,
    "l": 68.431
  },
  "oklch": {
    "l": 0.72368,
    "c": 0.15565,
    "h": 324.2
  },
  "luminance": 0.35014
}

Semantic roles & 50–950 ramp

primary
#D581DC
secondary
#D1EACF
accent
#C4212E
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D581DC

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

Preview Lab → · Contrast checker → · Palette generator →

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