#D970DB#D970DB

#D970DB is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.3% C 0.185 H 326.6°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#D970DB
RGBrgb(217, 112, 219)
HSLhsl(299, 60%, 65%)
HSVhsv(299, 49%, 86%)
CMYKcmyk(0.9%, 48.9%, 0%, 14.1%)
CIE-LABlab(62.89, 55.88, -37.08)
CIE-LCHlch(62.89, 67.06, 326.44°)
OKLaboklab(70.32% 0.1546 -0.1018)
OKLCHoklch(70.32% 0.185 326.6)
XYZxyz(47.1947, 31.4570, 70.5900)
Luminance0.3145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D970DB #72DB70
analogous
#A470DB #D970DB #DB70A7
triadic
#D970DB #DBD970 #70DBD9
tetradic
#D970DB #DBA470 #72DB70 #70A7DB
square
#D970DB #DBA470 #72DB70 #70A7DB
split-complementary
#D970DB #A7DB70 #70DBA4
monochromatic
#A42AA7 #CC3FCF #D970DB #E6A1E7 #F3D2F4

Accessibility & contrast

On white

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

On black

7.29
#D970DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D970DB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D970DB#FFFFFF#000000##000000
##D970DB1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6590DF
Deuteranopia (green-blind)
#859DD8
Tritanopia (blue-blind)
#DE7C9C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d970db;
/* rgb */ color: rgb(217, 112, 219);
/* oklch */ color: oklch(70.3% 0.185 326.6);
Tailwind
colors: {
  custom: {
    50: '#e79de6',
    500: '#d970db',
    950: '#000000',
  },
}
SCSS
$custom: #d970db;
$custom-light: #e79de6;
$custom-dark: #000000;
JSON
{
  "hex": "#d970db",
  "rgb": {
    "r": 217,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 298.879,
    "s": 59.777,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70323,
    "c": 0.1851,
    "h": 326.6
  },
  "luminance": 0.31455
}

Semantic roles & 50–950 ramp

primary
#D970DB
secondary
#C2E6C1
accent
#C71E21
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D970DB

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

Preview Lab → · Contrast checker → · Palette generator →

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