#D972FC#D972FC

#D972FC is a light, highly saturated purple. Relative luminance 0.338; OKLCH L 72.2% C 0.213 H 316.8°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#D972FC
RGBrgb(217, 114, 252)
HSLhsl(285, 96%, 72%)
HSVhsv(285, 55%, 99%)
CMYKcmyk(13.9%, 54.8%, 0%, 1.2%)
CIE-LABlab(64.82, 61.12, -52.34)
CIE-LCHlch(64.82, 80.47, 319.42°)
OKLaboklab(72.25% 0.1556 -0.146)
OKLCHoklch(72.25% 0.213 316.8)
XYZxyz(52.2007, 33.8164, 95.8541)
Luminance0.3382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D972FC #95FC72
analogous
#9472FC #D972FC #FC72DA
triadic
#D972FC #FCD972 #72FCD9
tetradic
#D972FC #FC9472 #95FC72 #72DAFC
square
#D972FC #FC9472 #95FC72 #72DAFC
split-complementary
#D972FC #DAFC72 #72FC94
monochromatic
#B305EF #C936FB #D972FC #E9AEFD #F7E1FE

Accessibility & contrast

On white

2.71
#D972FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#D972FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D972FC
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D972FC#FFFFFF#000000##000000
##D972FC1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#75A0F8
Tritanopia (blue-blind)
#D888AD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d972fc;
/* rgb */ color: rgb(217, 114, 252);
/* oklch */ color: oklch(72.2% 0.213 316.8);
Tailwind
colors: {
  custom: {
    50: '#e79ffe',
    500: '#d972fc',
    950: '#000000',
  },
}
SCSS
$custom: #d972fc;
$custom-light: #e79ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#d972fc",
  "rgb": {
    "r": 217,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 284.783,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72249,
    "c": 0.21332,
    "h": 316.8
  },
  "luminance": 0.33815
}

Semantic roles & 50–950 ramp

primary
#D972FC
secondary
#DCF6D3
accent
#E6003A
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D972FC

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

Preview Lab → · Contrast checker → · Palette generator →

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