#D973DC#D973DC

#D973DC is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.8% C 0.181 H 326.2°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#D973DC
RGBrgb(217, 115, 220)
HSLhsl(298, 60%, 66%)
HSVhsv(298, 48%, 86%)
CMYKcmyk(1.4%, 47.7%, 0%, 13.7%)
CIE-LABlab(63.49, 54.59, -36.70)
CIE-LCHlch(63.49, 65.78, 326.09°)
OKLaboklab(70.78% 0.1506 -0.1008)
OKLCHoklch(70.78% 0.181 326.2)
XYZxyz(47.6633, 32.1829, 71.3976)
Luminance0.3218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D973DC #76DC73
analogous
#A473DC #D973DC #DC73AA
triadic
#D973DC #DCD973 #73DCD9
tetradic
#D973DC #DCA473 #76DC73 #73AADC
square
#D973DC #DCA473 #76DC73 #73AADC
split-complementary
#D973DC #AADC73 #73DCA4
monochromatic
#A62BAA #CC42D0 #D973DC #E6A4E8 #F4D5F4

Accessibility & contrast

On white

2.82
#D973DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#D973DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D973DC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D973DC#FFFFFF#000000##000000
##D973DC1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6891E0
Deuteranopia (green-blind)
#869ED9
Tritanopia (blue-blind)
#DE7F9D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d973dc;
/* rgb */ color: rgb(217, 115, 220);
/* oklch */ color: oklch(70.8% 0.181 326.2);
Tailwind
colors: {
  custom: {
    50: '#e79fe7',
    500: '#d973dc',
    950: '#000000',
  },
}
SCSS
$custom: #d973dc;
$custom-light: #e79fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#d973dc",
  "rgb": {
    "r": 217,
    "g": 115,
    "b": 220
  },
  "hsl": {
    "h": 298.286,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70783,
    "c": 0.18121,
    "h": 326.2
  },
  "luminance": 0.3218
}

Semantic roles & 50–950 ramp

primary
#D973DC
secondary
#C5E7C4
accent
#C81E23
background
#FEFAFE
surface
#FDF3FC
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D973DC

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

Preview Lab → · Contrast checker → · Palette generator →

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