#D979CA#D979CA

#D979CA is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.9% C 0.155 H 333.1°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#D979CA
RGBrgb(217, 121, 202)
HSLhsl(309, 56%, 66%)
HSVhsv(309, 44%, 85%)
CMYKcmyk(0%, 44.2%, 6.9%, 14.9%)
CIE-LABlab(63.91, 48.44, -25.96)
CIE-LCHlch(63.91, 54.95, 331.81°)
OKLaboklab(70.85% 0.1386 -0.0703)
OKLCHoklch(70.85% 0.155 333.1)
XYZxyz(46.1131, 32.6934, 59.7472)
Luminance0.3269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D979CA #79D988
analogous
#B879D9 #D979CA #D9799A
triadic
#D979CA #CAD979 #79CAD9
tetradic
#D979CA #D9B879 #79D988 #799AD9
square
#D979CA #D9B879 #79D988 #799AD9
split-complementary
#D979CA #9AD979 #79D9B8
monochromatic
#A83095 #CB49B7 #D979CA #E7A9DD #F4D8F0

Accessibility & contrast

On white

2.79
#D979CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#D979CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D979CA
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D979CA#FFFFFF#000000##000000
##D979CA1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7792CD
Deuteranopia (green-blind)
#91A0C7
Tritanopia (blue-blind)
#E17F98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d979ca;
/* rgb */ color: rgb(217, 121, 202);
/* oklch */ color: oklch(70.9% 0.155 333.1);
Tailwind
colors: {
  custom: {
    50: '#e6a2da',
    500: '#d979ca',
    950: '#000000',
  },
}
SCSS
$custom: #d979ca;
$custom-light: #e6a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#d979ca",
  "rgb": {
    "r": 217,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 309.375,
    "s": 55.814,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70851,
    "c": 0.15537,
    "h": 333.1
  },
  "luminance": 0.32691
}

Semantic roles & 50–950 ramp

primary
#D979CA
secondary
#C7E7CC
accent
#C33B22
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F15
muted
#847F83

Preview Lab

Preview with #D979CA

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

Preview Lab → · Contrast checker → · Palette generator →

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