#D581CD#D581CD

#D581CD is a light, vivid purple. Relative luminance 0.343; OKLCH L 71.7% C 0.141 H 330.4°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#D581CD
RGBrgb(213, 129, 205)
HSLhsl(306, 50%, 67%)
HSVhsv(306, 39%, 84%)
CMYKcmyk(0%, 39.4%, 3.8%, 16.5%)
CIE-LABlab(65.17, 43.59, -25.76)
CIE-LCHlch(65.17, 50.63, 329.42°)
OKLaboklab(71.73% 0.123 -0.0698)
OKLCHoklch(71.73% 0.141 330.4)
XYZxyz(46.3097, 34.2567, 61.9187)
Luminance0.3425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581CD #81D589
analogous
#B381D5 #D581CD #D581A3
triadic
#D581CD #CDD581 #81CDD5
tetradic
#D581CD #D5B381 #81D589 #81A3D5
square
#D581CD #D5B381 #81D589 #81A3D5
split-complementary
#D581CD #A3D581 #81D5B3
monochromatic
#A5379A #C653BB #D581CD #E4AFDF #F4DDF1

Accessibility & contrast

On white

2.67
#D581CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#D581CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581CD
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581CD#FFFFFF#000000##000000
##D581CD1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E97D0
Deuteranopia (green-blind)
#94A2CA
Tritanopia (blue-blind)
#DB879E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d581cd;
/* rgb */ color: rgb(213, 129, 205);
/* oklch */ color: oklch(71.7% 0.141 330.4);
Tailwind
colors: {
  custom: {
    50: '#e3a7dc',
    500: '#d581cd',
    950: '#000000',
  },
}
SCSS
$custom: #d581cd;
$custom-light: #e3a7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d581cd",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 205
  },
  "hsl": {
    "h": 305.714,
    "s": 50,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71725,
    "c": 0.14143,
    "h": 330.4
  },
  "luminance": 0.34254
}

Semantic roles & 50–950 ramp

primary
#D581CD
secondary
#CCE6CE
accent
#BD3628
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D581CD

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

Preview Lab → · Contrast checker → · Palette generator →

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