#D972FF#D972FF

#D972FF is a light, highly saturated purple. Relative luminance 0.340; OKLCH L 72.4% C 0.216 H 316.1°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#D972FF
RGBrgb(217, 114, 255)
HSLhsl(284, 100%, 72%)
HSVhsv(284, 55%, 100%)
CMYKcmyk(14.9%, 55.3%, 0%, 0%)
CIE-LABlab(64.97, 61.71, -53.75)
CIE-LCHlch(64.97, 81.83, 318.94°)
OKLaboklab(72.41% 0.1558 -0.15)
OKLCHoklch(72.41% 0.216 316.1)
XYZxyz(52.6798, 34.0081, 98.3776)
Luminance0.3401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D972FF #98FF72
analogous
#9372FF #D972FF #FF72DE
triadic
#D972FF #FFD972 #72FFD9
tetradic
#D972FF #FF9372 #98FF72 #72DEFF
square
#D972FF #FF9372 #98FF72 #72DEFF
split-complementary
#D972FF #DEFF72 #72FF93
monochromatic
#B400F7 #C935FF #D972FF #E9AFFF #F7E0FF

Accessibility & contrast

On white

2.69
#D972FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#D972FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D972FF
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D972FF#FFFFFF#000000##000000
##D972FF1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F97FF
Deuteranopia (green-blind)
#73A1FB
Tritanopia (blue-blind)
#D789AE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d972ff;
/* rgb */ color: rgb(217, 114, 255);
/* oklch */ color: oklch(72.4% 0.216 316.1);
Tailwind
colors: {
  custom: {
    50: '#e89fff',
    500: '#d972ff',
    950: '#000000',
  },
}
SCSS
$custom: #d972ff;
$custom-light: #e89fff;
$custom-dark: #000000;
JSON
{
  "hex": "#d972ff",
  "rgb": {
    "r": 217,
    "g": 114,
    "b": 255
  },
  "hsl": {
    "h": 283.83,
    "s": 100,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7241,
    "c": 0.21628,
    "h": 316.1
  },
  "luminance": 0.34006
}

Semantic roles & 50–950 ramp

primary
#D972FF
secondary
#DDF7D4
accent
#E6003E
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D972FF

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

Preview Lab → · Contrast checker → · Palette generator →

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