#D581C8#D581C8

#D581C8 is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.5% C 0.137 H 332.7°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#D581C8
RGBrgb(213, 129, 200)
HSLhsl(309, 50%, 67%)
HSVhsv(309, 39%, 84%)
CMYKcmyk(0%, 39.4%, 6.1%, 16.5%)
CIE-LABlab(64.98, 42.71, -23.24)
CIE-LCHlch(64.98, 48.63, 331.45°)
OKLaboklab(71.52% 0.1217 -0.0628)
OKLCHoklch(71.52% 0.137 332.7)
XYZxyz(45.7158, 34.0191, 58.7907)
Luminance0.3402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581C8 #81D58E
analogous
#B881D5 #D581C8 #D5819E
triadic
#D581C8 #C8D581 #81C8D5
tetradic
#D581C8 #D5B881 #81D58E #819ED5
square
#D581C8 #D5B881 #81D58E #819ED5
split-complementary
#D581C8 #9ED581 #81D5B8
monochromatic
#A53794 #C653B4 #D581C8 #E4AFDC #F4DDF0

Accessibility & contrast

On white

2.69
#D581C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#D581C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581C8
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581C8#FFFFFF#000000##000000
##D581C81.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8096CB
Deuteranopia (green-blind)
#95A2C5
Tritanopia (blue-blind)
#DC869C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d581c8;
/* rgb */ color: rgb(213, 129, 200);
/* oklch */ color: oklch(71.5% 0.137 332.7);
Tailwind
colors: {
  custom: {
    50: '#e3a7d8',
    500: '#d581c8',
    950: '#000000',
  },
}
SCSS
$custom: #d581c8;
$custom-light: #e3a7d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d581c8",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 200
  },
  "hsl": {
    "h": 309.286,
    "s": 50,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71522,
    "c": 0.13696,
    "h": 332.7
  },
  "luminance": 0.34017
}

Semantic roles & 50–950 ramp

primary
#D581C8
secondary
#CCE6D0
accent
#BD3F28
background
#FEFAFD
surface
#FCF4FA
border
#D5CED3
text
#161014
muted
#847F83

Preview Lab

Preview with #D581C8

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

Preview Lab → · Contrast checker → · Palette generator →

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