#D970FB#D970FB

#D970FB is a light, highly saturated purple. Relative luminance 0.333; OKLCH L 71.9% C 0.215 H 317.2°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#D970FB
RGBrgb(217, 112, 251)
HSLhsl(285, 95%, 71%)
HSVhsv(285, 55%, 98%)
CMYKcmyk(13.5%, 55.4%, 0%, 1.6%)
CIE-LABlab(64.41, 61.88, -52.44)
CIE-LCHlch(64.41, 81.11, 319.72°)
OKLaboklab(71.93% 0.158 -0.1462)
OKLCHoklch(71.93% 0.215 317.2)
XYZxyz(51.8195, 33.3070, 94.9473)
Luminance0.3331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D970FB #92FB70
analogous
#9370FB #D970FB #FB70D7
triadic
#D970FB #FBD970 #70FBD9
tetradic
#D970FB #FB9370 #92FB70 #70D7FB
square
#D970FB #FB9370 #92FB70 #70D7FB
split-complementary
#D970FB #D7FB70 #70FB93
monochromatic
#B207EA #C934F9 #D970FB #E9ACFD #F7E1FE

Accessibility & contrast

On white

2.74
#D970FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#D970FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D970FB
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D970FB#FFFFFF#000000##000000
##D970FB1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F95FF
Deuteranopia (green-blind)
#749FF7
Tritanopia (blue-blind)
#D886AB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d970fb;
/* rgb */ color: rgb(217, 112, 251);
/* oklch */ color: oklch(71.9% 0.215 317.2);
Tailwind
colors: {
  custom: {
    50: '#e89dfd',
    500: '#d970fb',
    950: '#000000',
  },
}
SCSS
$custom: #d970fb;
$custom-light: #e89dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d970fb",
  "rgb": {
    "r": 217,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 285.324,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71933,
    "c": 0.21531,
    "h": 317.2
  },
  "luminance": 0.33305
}

Semantic roles & 50–950 ramp

primary
#D970FB
secondary
#DAF6D1
accent
#E60038
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #D970FB

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

Preview Lab → · Contrast checker → · Palette generator →

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