#D979CD#D979CD

#D979CD is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.0% C 0.158 H 331.8°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#D979CD
RGBrgb(217, 121, 205)
HSLhsl(308, 56%, 66%)
HSVhsv(308, 44%, 85%)
CMYKcmyk(0%, 44.2%, 5.5%, 14.9%)
CIE-LABlab(64.03, 48.95, -27.47)
CIE-LCHlch(64.03, 56.13, 330.70°)
OKLaboklab(70.98% 0.1393 -0.0745)
OKLCHoklch(70.98% 0.158 331.8)
XYZxyz(46.4717, 32.8369, 61.6361)
Luminance0.3283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D979CD #79D985
analogous
#B579D9 #D979CD #D9799D
triadic
#D979CD #CDD979 #79CDD9
tetradic
#D979CD #D9B579 #79D985 #799DD9
square
#D979CD #D9B579 #79D985 #799DD9
split-complementary
#D979CD #9DD979 #79D9B5
monochromatic
#A83099 #CB49BB #D979CD #E7A9DF #F4D8F1

Accessibility & contrast

On white

2.78
#D979CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#D979CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D979CD
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D979CD#FFFFFF#000000##000000
##D979CD1.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7693D0
Deuteranopia (green-blind)
#90A0CA
Tritanopia (blue-blind)
#E07F9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d979cd;
/* rgb */ color: rgb(217, 121, 205);
/* oklch */ color: oklch(71.0% 0.158 331.8);
Tailwind
colors: {
  custom: {
    50: '#e6a2dc',
    500: '#d979cd',
    950: '#000000',
  },
}
SCSS
$custom: #d979cd;
$custom-light: #e6a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d979cd",
  "rgb": {
    "r": 217,
    "g": 121,
    "b": 205
  },
  "hsl": {
    "h": 307.5,
    "s": 55.814,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70977,
    "c": 0.15794,
    "h": 331.8
  },
  "luminance": 0.32834
}

Semantic roles & 50–950 ramp

primary
#D979CD
secondary
#C7E7CB
accent
#C33622
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D979CD

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

Preview Lab → · Contrast checker → · Palette generator →

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