#D970DC#D970DC

#D970DC is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.4% C 0.186 H 326.3°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#D970DC
RGBrgb(217, 112, 220)
HSLhsl(298, 61%, 65%)
HSVhsv(298, 49%, 86%)
CMYKcmyk(1.4%, 49.1%, 0%, 13.7%)
CIE-LABlab(62.94, 56.06, -37.57)
CIE-LCHlch(62.94, 67.49, 326.17°)
OKLaboklab(70.37% 0.1547 -0.1032)
OKLCHoklch(70.37% 0.186 326.3)
XYZxyz(47.3268, 31.5099, 71.2854)
Luminance0.3151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D970DC #73DC70
analogous
#A370DC #D970DC #DC70A9
triadic
#D970DC #DCD970 #70DCD9
tetradic
#D970DC #DCA370 #73DC70 #70A9DC
square
#D970DC #DCA370 #73DC70 #70A9DC
split-complementary
#D970DC #A9DC70 #70DCA3
monochromatic
#A529A8 #CC3FD0 #D970DC #E6A1E8 #F3D2F4

Accessibility & contrast

On white

2.88
#D970DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#D970DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D970DC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D970DC#FFFFFF#000000##000000
##D970DC1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6590E0
Deuteranopia (green-blind)
#849DD9
Tritanopia (blue-blind)
#DE7C9C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d970dc;
/* rgb */ color: rgb(217, 112, 220);
/* oklch */ color: oklch(70.4% 0.186 326.3);
Tailwind
colors: {
  custom: {
    50: '#e79de7',
    500: '#d970dc',
    950: '#000000',
  },
}
SCSS
$custom: #d970dc;
$custom-light: #e79de7;
$custom-dark: #000000;
JSON
{
  "hex": "#d970dc",
  "rgb": {
    "r": 217,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 298.333,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.7037,
    "c": 0.186,
    "h": 326.3
  },
  "luminance": 0.31507
}

Semantic roles & 50–950 ramp

primary
#D970DC
secondary
#C3E6C2
accent
#C81D22
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D970DC

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

Preview Lab → · Contrast checker → · Palette generator →

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