#D978CE#D978CE

#D978CE is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.9% C 0.160 H 331.4°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#D978CE
RGBrgb(217, 120, 206)
HSLhsl(307, 56%, 66%)
HSVhsv(307, 45%, 85%)
CMYKcmyk(0%, 44.7%, 5.1%, 14.9%)
CIE-LABlab(63.87, 49.63, -28.27)
CIE-LCHlch(63.87, 57.12, 330.33°)
OKLaboklab(70.87% 0.1409 -0.0768)
OKLCHoklch(70.87% 0.16 331.4)
XYZxyz(46.4719, 32.6435, 62.2336)
Luminance0.3264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D978CE #78D983
analogous
#B378D9 #D978CE #D9789D
triadic
#D978CE #CED978 #78CED9
tetradic
#D978CE #D9B378 #78D983 #789DD9
square
#D978CE #D9B378 #78D983 #789DD9
split-complementary
#D978CE #9DD978 #78D9B3
monochromatic
#A72F9A #CC48BD #D978CE #E6A8DF #F4D8F1

Accessibility & contrast

On white

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

On black

7.53
#D978CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D978CE
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D978CE#FFFFFF#000000##000000
##D978CE1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7592D1
Deuteranopia (green-blind)
#8FA0CB
Tritanopia (blue-blind)
#E07F99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d978ce;
/* rgb */ color: rgb(217, 120, 206);
/* oklch */ color: oklch(70.9% 0.160 331.4);
Tailwind
colors: {
  custom: {
    50: '#e6a2dd',
    500: '#d978ce',
    950: '#000000',
  },
}
SCSS
$custom: #d978ce;
$custom-light: #e6a2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d978ce",
  "rgb": {
    "r": 217,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 306.804,
    "s": 56.069,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70872,
    "c": 0.16048,
    "h": 331.4
  },
  "luminance": 0.32641
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D978CE

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

Preview Lab → · Contrast checker → · Palette generator →

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