#D971D2#D971D2

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

Color values

HEX#D971D2
RGBrgb(217, 113, 210)
HSLhsl(304, 58%, 65%)
HSVhsv(304, 48%, 85%)
CMYKcmyk(0%, 47.9%, 3.2%, 14.9%)
CIE-LABlab(62.69, 53.81, -32.34)
CIE-LCHlch(62.69, 62.78, 328.99°)
OKLaboklab(70.05% 0.1517 -0.0883)
OKLCHoklch(70.05% 0.176 329.8)
XYZxyz(46.1527, 31.2178, 64.5549)
Luminance0.3121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D971D2 #71D978
analogous
#AC71D9 #D971D2 #D9719E
triadic
#D971D2 #D2D971 #71D2D9
tetradic
#D971D2 #D9AC71 #71D978 #719ED9
square
#D971D2 #D9AC71 #71D978 #719ED9
split-complementary
#D971D2 #9ED971 #71D9AC
monochromatic
#A42C9C #CC41C3 #D971D2 #E6A1E1 #F3D2F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D971D2#FFFFFF#000000##000000
##D971D21.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)
#6B8FD5
Deuteranopia (green-blind)
#899DCF
Tritanopia (blue-blind)
#E07A98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d971d2;
/* rgb */ color: rgb(217, 113, 210);
/* oklch */ color: oklch(70.0% 0.176 329.8);
Tailwind
colors: {
  custom: {
    50: '#e79de0',
    500: '#d971d2',
    950: '#000000',
  },
}
SCSS
$custom: #d971d2;
$custom-light: #e79de0;
$custom-dark: #000000;
JSON
{
  "hex": "#d971d2",
  "rgb": {
    "r": 217,
    "g": 113,
    "b": 210
  },
  "hsl": {
    "h": 304.038,
    "s": 57.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70047,
    "c": 0.17551,
    "h": 329.8
  },
  "luminance": 0.31215
}

Semantic roles & 50–950 ramp

primary
#D971D2
secondary
#C1E5C3
accent
#C52B20
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #D971D2

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

Preview Lab → · Contrast checker → · Palette generator →

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