#D581D2#D581D2

#D581D2 is a light, vivid purple. Relative luminance 0.345; OKLCH L 71.9% C 0.146 H 328.2°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#D581D2
RGBrgb(213, 129, 210)
HSLhsl(302, 50%, 67%)
HSVhsv(302, 39%, 84%)
CMYKcmyk(0%, 39.4%, 1.4%, 16.5%)
CIE-LABlab(65.36, 44.49, -28.26)
CIE-LCHlch(65.36, 52.70, 327.58°)
OKLaboklab(71.93% 0.1242 -0.0769)
OKLCHoklch(71.93% 0.146 328.2)
XYZxyz(46.9229, 34.5020, 65.1482)
Luminance0.3450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581D2 #81D584
analogous
#AE81D5 #D581D2 #D581A8
triadic
#D581D2 #D2D581 #81D2D5
tetradic
#D581D2 #D5AE81 #81D584 #81A8D5
square
#D581D2 #D5AE81 #81D584 #81A8D5
split-complementary
#D581D2 #A8D581 #81D5AE
monochromatic
#A537A1 #C653C2 #D581D2 #E4AFE2 #F4DDF3

Accessibility & contrast

On white

2.66
#D581D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#D581D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581D2
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581D2#FFFFFF#000000##000000
##D581D21.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C98D5
Deuteranopia (green-blind)
#92A3CF
Tritanopia (blue-blind)
#DA88A0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d581d2;
/* rgb */ color: rgb(213, 129, 210);
/* oklch */ color: oklch(71.9% 0.146 328.2);
Tailwind
colors: {
  custom: {
    50: '#e3a7e0',
    500: '#d581d2',
    950: '#000000',
  },
}
SCSS
$custom: #d581d2;
$custom-light: #e3a7e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d581d2",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 210
  },
  "hsl": {
    "h": 302.143,
    "s": 50,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71934,
    "c": 0.14604,
    "h": 328.2
  },
  "luminance": 0.345
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D581D2

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

Preview Lab → · Contrast checker → · Palette generator →

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