#D972CD#D972CD

#D972CD is a light, vivid purple. Relative luminance 0.312; OKLCH L 70.0% C 0.170 H 331.7°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#D972CD
RGBrgb(217, 114, 205)
HSLhsl(307, 58%, 65%)
HSVhsv(307, 47%, 85%)
CMYKcmyk(0%, 47.5%, 5.5%, 14.9%)
CIE-LABlab(62.67, 52.46, -29.56)
CIE-LCHlch(62.67, 60.21, 330.60°)
OKLaboklab(69.97% 0.1493 -0.0804)
OKLCHoklch(69.97% 0.17 331.7)
XYZxyz(45.6517, 31.1968, 61.3628)
Luminance0.3119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D972CD #72D97E
analogous
#B172D9 #D972CD #D9729A
triadic
#D972CD #CDD972 #72CDD9
tetradic
#D972CD #D9B172 #72D97E #729AD9
square
#D972CD #D9B172 #72D97E #729AD9
split-complementary
#D972CD #9AD972 #72D9B1
monochromatic
#A42C96 #CC42BC #D972CD #E6A2DE #F3D2EF

Accessibility & contrast

On white

2.90
#D972CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#D972CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D972CD
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D972CD#FFFFFF#000000##000000
##D972CD1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8ED0
Deuteranopia (green-blind)
#8C9DCA
Tritanopia (blue-blind)
#E07996
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d972cd;
/* rgb */ color: rgb(217, 114, 205);
/* oklch */ color: oklch(70.0% 0.170 331.7);
Tailwind
colors: {
  custom: {
    50: '#e79edc',
    500: '#d972cd',
    950: '#000000',
  },
}
SCSS
$custom: #d972cd;
$custom-light: #e79edc;
$custom-dark: #000000;
JSON
{
  "hex": "#d972cd",
  "rgb": {
    "r": 217,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 306.99,
    "s": 57.542,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69967,
    "c": 0.16957,
    "h": 331.7
  },
  "luminance": 0.31194
}

Semantic roles & 50–950 ramp

primary
#D972CD
secondary
#C2E5C6
accent
#C53420
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #D972CD

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

Preview Lab → · Contrast checker → · Palette generator →

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