#D972FA#D972FA

#D972FA is a light, highly saturated purple. Relative luminance 0.337; OKLCH L 72.1% C 0.211 H 317.3°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#D972FA
RGBrgb(217, 114, 250)
HSLhsl(285, 93%, 71%)
HSVhsv(285, 54%, 98%)
CMYKcmyk(13.2%, 54.4%, 0%, 2%)
CIE-LABlab(64.72, 60.72, -51.40)
CIE-LCHlch(64.72, 79.56, 319.75°)
OKLaboklab(72.14% 0.1554 -0.1432)
OKLCHoklch(72.14% 0.211 317.3)
XYZxyz(51.8854, 33.6903, 94.1937)
Luminance0.3369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D972FA #93FA72
analogous
#9572FA #D972FA #FA72D7
triadic
#D972FA #FAD972 #72FAD9
tetradic
#D972FA #FA9572 #93FA72 #72D7FA
square
#D972FA #FA9572 #93FA72 #72D7FA
split-complementary
#D972FA #D7FA72 #72FA95
monochromatic
#B308E9 #C937F8 #D972FA #E9ADFC #F7E1FE

Accessibility & contrast

On white

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

On black

7.74
#D972FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D972FA
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D972FA#FFFFFF#000000##000000
##D972FA1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FE
Deuteranopia (green-blind)
#76A0F6
Tritanopia (blue-blind)
#D887AC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d972fa;
/* rgb */ color: rgb(217, 114, 250);
/* oklch */ color: oklch(72.1% 0.211 317.3);
Tailwind
colors: {
  custom: {
    50: '#e79ffc',
    500: '#d972fa',
    950: '#000000',
  },
}
SCSS
$custom: #d972fa;
$custom-light: #e79ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#d972fa",
  "rgb": {
    "r": 217,
    "g": 114,
    "b": 250
  },
  "hsl": {
    "h": 285.441,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72142,
    "c": 0.21136,
    "h": 317.3
  },
  "luminance": 0.33688
}

Semantic roles & 50–950 ramp

primary
#D972FA
secondary
#DBF6D2
accent
#E60038
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D972FA

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

Preview Lab → · Contrast checker → · Palette generator →

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