#D981CD#D981CD

#D981CD is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.2% C 0.144 H 332.1°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#D981CD
RGBrgb(217, 129, 205)
HSLhsl(308, 54%, 68%)
HSVhsv(308, 41%, 85%)
CMYKcmyk(0%, 40.6%, 5.5%, 14.9%)
CIE-LABlab(65.64, 44.84, -24.99)
CIE-LCHlch(65.64, 51.33, 330.87°)
OKLaboklab(72.19% 0.1275 -0.0676)
OKLCHoklch(72.19% 0.144 332.1)
XYZxyz(47.4845, 34.8625, 61.9737)
Luminance0.3486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D981CD #81D98D
analogous
#B981D9 #D981CD #D981A1
triadic
#D981CD #CDD981 #81CDD9
tetradic
#D981CD #D9B981 #81D98D #81A1D9
square
#D981CD #D9B981 #81D98D #81A1D9
split-complementary
#D981CD #A1D981 #81D9B9
monochromatic
#AC349B #CB52BA #D981CD #E7B0E0 #F5DFF2

Accessibility & contrast

On white

2.63
#D981CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#D981CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D981CD
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D981CD#FFFFFF#000000##000000
##D981CD1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F98D0
Deuteranopia (green-blind)
#96A4CA
Tritanopia (blue-blind)
#E0869E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d981cd;
/* rgb */ color: rgb(217, 129, 205);
/* oklch */ color: oklch(72.2% 0.144 332.1);
Tailwind
colors: {
  custom: {
    50: '#e6a7dc',
    500: '#d981cd',
    950: '#000000',
  },
}
SCSS
$custom: #d981cd;
$custom-light: #e6a7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d981cd",
  "rgb": {
    "r": 217,
    "g": 129,
    "b": 205
  },
  "hsl": {
    "h": 308.182,
    "s": 53.659,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72186,
    "c": 0.14432,
    "h": 332.1
  },
  "luminance": 0.3486
}

Semantic roles & 50–950 ramp

primary
#D981CD
secondary
#CDE8D1
accent
#C13A24
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #D981CD

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

Preview Lab → · Contrast checker → · Palette generator →

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