#D971DD#D971DD

#D971DD is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.6% C 0.185 H 325.9°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#D971DD
RGBrgb(217, 113, 221)
HSLhsl(298, 61%, 65%)
HSVhsv(298, 49%, 87%)
CMYKcmyk(1.8%, 48.9%, 0%, 13.3%)
CIE-LABlab(63.16, 55.75, -37.77)
CIE-LCHlch(63.16, 67.34, 325.89°)
OKLaboklab(70.55% 0.1535 -0.1038)
OKLCHoklch(70.55% 0.185 325.9)
XYZxyz(47.5705, 31.7849, 72.0220)
Luminance0.3178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D971DD #75DD71
analogous
#A371DD #D971DD #DD71AB
triadic
#D971DD #DDD971 #71DDD9
tetradic
#D971DD #DDA371 #75DD71 #71ABDD
square
#D971DD #DDA371 #75DD71 #71ABDD
split-complementary
#D971DD #ABDD71 #71DDA3
monochromatic
#A629AB #CC40D1 #D971DD #E6A2E9 #F3D4F5

Accessibility & contrast

On white

2.85
#D971DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#D971DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D971DD
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D971DD#FFFFFF#000000##000000
##D971DD1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6591E1
Deuteranopia (green-blind)
#849EDA
Tritanopia (blue-blind)
#DE7D9D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d971dd;
/* rgb */ color: rgb(217, 113, 221);
/* oklch */ color: oklch(70.6% 0.185 325.9);
Tailwind
colors: {
  custom: {
    50: '#e79de8',
    500: '#d971dd',
    950: '#000000',
  },
}
SCSS
$custom: #d971dd;
$custom-light: #e79de8;
$custom-dark: #000000;
JSON
{
  "hex": "#d971dd",
  "rgb": {
    "r": 217,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 297.778,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70554,
    "c": 0.18533,
    "h": 325.9
  },
  "luminance": 0.31782
}

Semantic roles & 50–950 ramp

primary
#D971DD
secondary
#C4E7C3
accent
#C91C23
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D971DD

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

Preview Lab → · Contrast checker → · Palette generator →

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