#D977CD#D977CD

#D977CD is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.7% C 0.161 H 331.8°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#D977CD
RGBrgb(217, 119, 205)
HSLhsl(307, 56%, 66%)
HSVhsv(307, 45%, 85%)
CMYKcmyk(0%, 45.2%, 5.5%, 14.9%)
CIE-LABlab(63.64, 49.96, -28.07)
CIE-LCHlch(63.64, 57.31, 330.67°)
OKLaboklab(70.68% 0.1422 -0.0762)
OKLCHoklch(70.68% 0.161 331.8)
XYZxyz(46.2312, 32.3558, 61.5560)
Luminance0.3235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D977CD #77D983
analogous
#B477D9 #D977CD #D9779C
triadic
#D977CD #CDD977 #77CDD9
tetradic
#D977CD #D9B477 #77D983 #779CD9
square
#D977CD #D9B477 #77D983 #779CD9
split-complementary
#D977CD #9CD977 #77D9B4
monochromatic
#A72F98 #CC47BB #D977CD #E6A7DF #F4D7F0

Accessibility & contrast

On white

2.81
#D977CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#D977CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D977CD
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D977CD#FFFFFF#000000##000000
##D977CD1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7491D0
Deuteranopia (green-blind)
#8F9FCA
Tritanopia (blue-blind)
#E07E99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d977cd;
/* rgb */ color: rgb(217, 119, 205);
/* oklch */ color: oklch(70.7% 0.161 331.8);
Tailwind
colors: {
  custom: {
    50: '#e7a1dc',
    500: '#d977cd',
    950: '#000000',
  },
}
SCSS
$custom: #d977cd;
$custom-light: #e7a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d977cd",
  "rgb": {
    "r": 217,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 307.347,
    "s": 56.322,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70684,
    "c": 0.1613,
    "h": 331.8
  },
  "luminance": 0.32353
}

Semantic roles & 50–950 ramp

primary
#D977CD
secondary
#C6E6CA
accent
#C43522
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D977CD

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

Preview Lab → · Contrast checker → · Palette generator →

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