#D581CA#D581CA

#D581CA is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.6% C 0.139 H 331.8°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#D581CA
RGBrgb(213, 129, 202)
HSLhsl(308, 50%, 67%)
HSVhsv(308, 39%, 84%)
CMYKcmyk(0%, 39.4%, 5.2%, 16.5%)
CIE-LABlab(65.05, 43.06, -24.25)
CIE-LCHlch(65.05, 49.42, 330.61°)
OKLaboklab(71.6% 0.1222 -0.0656)
OKLCHoklch(71.6% 0.139 331.8)
XYZxyz(45.9510, 34.1132, 60.0298)
Luminance0.3411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581CA #81D58C
analogous
#B681D5 #D581CA #D581A0
triadic
#D581CA #CAD581 #81CAD5
tetradic
#D581CA #D5B681 #81D58C #81A0D5
square
#D581CA #D5B681 #81D58C #81A0D5
split-complementary
#D581CA #A0D581 #81D5B6
monochromatic
#A53796 #C653B7 #D581CA #E4AFDD #F4DDF1

Accessibility & contrast

On white

2.68
#D581CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#D581CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581CA
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581CA#FFFFFF#000000##000000
##D581CA1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F97CD
Deuteranopia (green-blind)
#95A2C7
Tritanopia (blue-blind)
#DC869C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d581ca;
/* rgb */ color: rgb(213, 129, 202);
/* oklch */ color: oklch(71.6% 0.139 331.8);
Tailwind
colors: {
  custom: {
    50: '#e3a7da',
    500: '#d581ca',
    950: '#000000',
  },
}
SCSS
$custom: #d581ca;
$custom-light: #e3a7da;
$custom-dark: #000000;
JSON
{
  "hex": "#d581ca",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 307.857,
    "s": 50,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71603,
    "c": 0.13873,
    "h": 331.8
  },
  "luminance": 0.34111
}

Semantic roles & 50–950 ramp

primary
#D581CA
secondary
#CCE6CF
accent
#BD3C28
background
#FEFAFD
surface
#FCF4FA
border
#D5CED3
text
#161014
muted
#847F83

Preview Lab

Preview with #D581CA

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

Preview Lab → · Contrast checker → · Palette generator →

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