#D972EA#D972EA

#D972EA is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.3% C 0.196 H 321.8°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#D972EA
RGBrgb(217, 114, 234)
HSLhsl(292, 74%, 68%)
HSVhsv(292, 51%, 92%)
CMYKcmyk(7.3%, 51.3%, 0%, 8.2%)
CIE-LABlab(63.94, 57.66, -43.79)
CIE-LCHlch(63.94, 72.40, 322.78°)
OKLaboklab(71.32% 0.1539 -0.1212)
OKLCHoklch(71.32% 0.196 321.8)
XYZxyz(49.4822, 32.7291, 81.5368)
Luminance0.3273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D972EA #83EA72
analogous
#9D72EA #D972EA #EA72BF
triadic
#D972EA #EAD972 #72EAD9
tetradic
#D972EA #EA9D72 #83EA72 #72BFEA
square
#D972EA #EA9D72 #83EA72 #72BFEA
split-complementary
#D972EA #BFEA72 #72EA9D
monochromatic
#AD1DC4 #CB3DE2 #D972EA #E7A7F2 #F6DDFA

Accessibility & contrast

On white

2.78
#D972EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#D972EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D972EA
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D972EA#FFFFFF#000000##000000
##D972EA1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F93EE
Deuteranopia (green-blind)
#7F9FE7
Tritanopia (blue-blind)
#DB82A4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d972ea;
/* rgb */ color: rgb(217, 114, 234);
/* oklch */ color: oklch(71.3% 0.196 321.8);
Tailwind
colors: {
  custom: {
    50: '#e79ef1',
    500: '#d972ea',
    950: '#000000',
  },
}
SCSS
$custom: #d972ea;
$custom-light: #e79ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#d972ea",
  "rgb": {
    "r": 217,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 291.5,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.7132,
    "c": 0.19589,
    "h": 321.8
  },
  "luminance": 0.32727
}

Semantic roles & 50–950 ramp

primary
#D972EA
secondary
#CFEECA
accent
#D60F2B
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D972EA

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

Preview Lab → · Contrast checker → · Palette generator →

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