#D970CB#D970CB

#D970CB is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.6% C 0.171 H 332.4°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#D970CB
RGBrgb(217, 112, 203)
HSLhsl(308, 58%, 65%)
HSVhsv(308, 48%, 85%)
CMYKcmyk(0%, 48.4%, 6.5%, 14.9%)
CIE-LABlab(62.22, 53.11, -29.14)
CIE-LCHlch(62.22, 60.58, 331.25°)
OKLaboklab(69.6% 0.1517 -0.0792)
OKLCHoklch(69.6% 0.171 332.4)
XYZxyz(45.1887, 30.6546, 60.0251)
Luminance0.3065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D970CB #70D97E
analogous
#B370D9 #D970CB #D97097
triadic
#D970CB #CBD970 #70CBD9
tetradic
#D970CB #D9B370 #70D97E #7097D9
square
#D970CB #D9B370 #70D97E #7097D9
split-complementary
#D970CB #97D970 #70D9B3
monochromatic
#A32B93 #CC40B9 #D970CB #E6A0DD #F3D1EE

Accessibility & contrast

On white

2.95
#D970CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#D970CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D970CB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D970CB#FFFFFF#000000##000000
##D970CB1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8DCE
Deuteranopia (green-blind)
#8B9CC8
Tritanopia (blue-blind)
#E17794
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d970cb;
/* rgb */ color: rgb(217, 112, 203);
/* oklch */ color: oklch(69.6% 0.171 332.4);
Tailwind
colors: {
  custom: {
    50: '#e79ddb',
    500: '#d970cb',
    950: '#000000',
  },
}
SCSS
$custom: #d970cb;
$custom-light: #e79ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#d970cb",
  "rgb": {
    "r": 217,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 308,
    "s": 58.011,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69599,
    "c": 0.17115,
    "h": 332.4
  },
  "luminance": 0.30652
}

Semantic roles & 50–950 ramp

primary
#D970CB
secondary
#C0E5C5
accent
#C63620
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D970CB

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

Preview Lab → · Contrast checker → · Palette generator →

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