#D970DD#D970DD

#D970DD is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.4% C 0.187 H 326.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#D970DD
RGBrgb(217, 112, 221)
HSLhsl(298, 62%, 65%)
HSVhsv(298, 49%, 87%)
CMYKcmyk(1.8%, 49.3%, 0%, 13.3%)
CIE-LABlab(62.98, 56.24, -38.06)
CIE-LCHlch(62.98, 67.91, 325.91°)
OKLaboklab(70.42% 0.1549 -0.1046)
OKLCHoklch(70.42% 0.187 326)
XYZxyz(47.4596, 31.5630, 71.9850)
Luminance0.3156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D970DD #74DD70
analogous
#A270DD #D970DD #DD70AB
triadic
#D970DD #DDD970 #70DDD9
tetradic
#D970DD #DDA270 #74DD70 #70ABDD
square
#D970DD #DDA270 #74DD70 #70ABDD
split-complementary
#D970DD #ABDD70 #70DDA2
monochromatic
#A528AA #CC3FD1 #D970DD #E6A1E9 #F3D3F5

Accessibility & contrast

On white

2.87
#D970DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#D970DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D970DD
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D970DD#FFFFFF#000000##000000
##D970DD1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6490E1
Deuteranopia (green-blind)
#849DDA
Tritanopia (blue-blind)
#DE7C9D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d970dd;
/* rgb */ color: rgb(217, 112, 221);
/* oklch */ color: oklch(70.4% 0.187 326.0);
Tailwind
colors: {
  custom: {
    50: '#e79de8',
    500: '#d970dd',
    950: '#000000',
  },
}
SCSS
$custom: #d970dd;
$custom-light: #e79de8;
$custom-dark: #000000;
JSON
{
  "hex": "#d970dd",
  "rgb": {
    "r": 217,
    "g": 112,
    "b": 221
  },
  "hsl": {
    "h": 297.798,
    "s": 61.582,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70417,
    "c": 0.18692,
    "h": 326
  },
  "luminance": 0.31561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D970DD

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

Preview Lab → · Contrast checker → · Palette generator →

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