#D978CA#D978CA

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

Color values

HEX#D978CA
RGBrgb(217, 120, 202)
HSLhsl(309, 56%, 66%)
HSVhsv(309, 45%, 85%)
CMYKcmyk(0%, 44.7%, 6.9%, 14.9%)
CIE-LABlab(63.71, 48.94, -26.26)
CIE-LCHlch(63.71, 55.55, 331.78°)
OKLaboklab(70.7% 0.14 -0.0711)
OKLCHoklch(70.7% 0.157 333.1)
XYZxyz(45.9922, 32.4516, 59.7069)
Luminance0.3245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D978CA #78D987
analogous
#B778D9 #D978CA #D97899
triadic
#D978CA #CAD978 #78CAD9
tetradic
#D978CA #D9B778 #78D987 #7899D9
square
#D978CA #D9B778 #78D987 #7899D9
split-complementary
#D978CA #99D978 #78D9B7
monochromatic
#A72F95 #CC48B7 #D978CA #E6A8DD #F4D8EF

Accessibility & contrast

On white

2.80
#D978CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#D978CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D978CA
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D978CA#FFFFFF#000000##000000
##D978CA1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7692CD
Deuteranopia (green-blind)
#919FC7
Tritanopia (blue-blind)
#E17E98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d978ca;
/* rgb */ color: rgb(217, 120, 202);
/* oklch */ color: oklch(70.7% 0.157 333.1);
Tailwind
colors: {
  custom: {
    50: '#e6a2da',
    500: '#d978ca',
    950: '#000000',
  },
}
SCSS
$custom: #d978ca;
$custom-light: #e6a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#d978ca",
  "rgb": {
    "r": 217,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 309.278,
    "s": 56.069,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70704,
    "c": 0.15706,
    "h": 333.1
  },
  "luminance": 0.32449
}

Semantic roles & 50–950 ramp

primary
#D978CA
secondary
#C6E6CB
accent
#C43B22
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F15
muted
#847F83

Preview Lab

Preview with #D978CA

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

Preview Lab → · Contrast checker → · Palette generator →

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