#D581CF#D581CF

#D581CF is a light, vivid purple. Relative luminance 0.344; OKLCH L 71.8% C 0.143 H 329.5°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#D581CF
RGBrgb(213, 129, 207)
HSLhsl(304, 50%, 67%)
HSVhsv(304, 39%, 84%)
CMYKcmyk(0%, 39.4%, 2.8%, 16.5%)
CIE-LABlab(65.24, 43.95, -26.76)
CIE-LCHlch(65.24, 51.45, 328.66°)
OKLaboklab(71.81% 0.1235 -0.0727)
OKLCHoklch(71.81% 0.143 329.5)
XYZxyz(46.5526, 34.3539, 63.1982)
Luminance0.3435 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581CF #81D587
analogous
#B181D5 #D581CF #D581A5
triadic
#D581CF #CFD581 #81CFD5
tetradic
#D581CF #D5B181 #81D587 #81A5D5
square
#D581CF #D5B181 #81D587 #81A5D5
split-complementary
#D581CF #A5D581 #81D5B1
monochromatic
#A5379D #C653BE #D581CF #E4AFE0 #F4DDF2

Accessibility & contrast

On white

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

On black

7.87
#D581CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581CF
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581CF#FFFFFF#000000##000000
##D581CF1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D97D2
Deuteranopia (green-blind)
#93A2CC
Tritanopia (blue-blind)
#DB889F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d581cf;
/* rgb */ color: rgb(213, 129, 207);
/* oklch */ color: oklch(71.8% 0.143 329.5);
Tailwind
colors: {
  custom: {
    50: '#e3a7de',
    500: '#d581cf',
    950: '#000000',
  },
}
SCSS
$custom: #d581cf;
$custom-light: #e3a7de;
$custom-dark: #000000;
JSON
{
  "hex": "#d581cf",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 304.286,
    "s": 50,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71808,
    "c": 0.14325,
    "h": 329.5
  },
  "luminance": 0.34352
}

Semantic roles & 50–950 ramp

primary
#D581CF
secondary
#CCE6CD
accent
#BD3328
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D581CF

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

Preview Lab → · Contrast checker → · Palette generator →

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