#D970FC#D970FC

#D970FC is a light, highly saturated purple. Relative luminance 0.334; OKLCH L 72.0% C 0.216 H 317.0°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#D970FC
RGBrgb(217, 112, 252)
HSLhsl(285, 96%, 71%)
HSVhsv(285, 56%, 99%)
CMYKcmyk(13.9%, 55.6%, 0%, 1.2%)
CIE-LABlab(64.46, 62.07, -52.91)
CIE-LCHlch(64.46, 81.56, 319.56°)
OKLaboklab(71.99% 0.1581 -0.1476)
OKLCHoklch(71.99% 0.216 317)
XYZxyz(51.9776, 33.3702, 95.7797)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D970FC #93FC70
analogous
#9370FC #D970FC #FC70D9
triadic
#D970FC #FCD970 #70FCD9
tetradic
#D970FC #FC9370 #93FC70 #70D9FC
square
#D970FC #FC9370 #93FC70 #70D9FC
split-complementary
#D970FC #D9FC70 #70FC93
monochromatic
#B305ED #C934FB #D970FC #E9ACFD #F7E1FE

Accessibility & contrast

On white

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

On black

7.67
#D970FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D970FC
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D970FC#FFFFFF#000000##000000
##D970FC1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E96FF
Deuteranopia (green-blind)
#73A0F8
Tritanopia (blue-blind)
#D886AC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d970fc;
/* rgb */ color: rgb(217, 112, 252);
/* oklch */ color: oklch(72.0% 0.216 317.0);
Tailwind
colors: {
  custom: {
    50: '#e89dfe',
    500: '#d970fc',
    950: '#000000',
  },
}
SCSS
$custom: #d970fc;
$custom-light: #e89dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d970fc",
  "rgb": {
    "r": 217,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 285,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71987,
    "c": 0.21628,
    "h": 317
  },
  "luminance": 0.33368
}

Semantic roles & 50–950 ramp

primary
#D970FC
secondary
#DBF6D2
accent
#E60039
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D970FC

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

Preview Lab → · Contrast checker → · Palette generator →

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