#D972EE#D972EE

#D972EE is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.5% C 0.200 H 320.6°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#D972EE
RGBrgb(217, 114, 238)
HSLhsl(290, 78%, 69%)
HSVhsv(290, 52%, 93%)
CMYKcmyk(8.8%, 52.1%, 0%, 6.7%)
CIE-LABlab(64.13, 58.41, -45.71)
CIE-LCHlch(64.13, 74.17, 321.96°)
OKLaboklab(71.52% 0.1544 -0.1267)
OKLCHoklch(71.52% 0.2 320.6)
XYZxyz(50.0634, 32.9615, 84.5975)
Luminance0.3296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D972EE #87EE72
analogous
#9B72EE #D972EE #EE72C5
triadic
#D972EE #EED972 #72EED9
tetradic
#D972EE #EE9B72 #87EE72 #72C5EE
square
#D972EE #EE9B72 #87EE72 #72C5EE
split-complementary
#D972EE #C5EE72 #72EE9B
monochromatic
#AE19CD #CA3BE7 #D972EE #E8A9F5 #F6DFFB

Accessibility & contrast

On white

2.77
#D972EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#D972EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D972EE
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D972EE#FFFFFF#000000##000000
##D972EE1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C94F2
Deuteranopia (green-blind)
#7D9FEB
Tritanopia (blue-blind)
#DB83A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d972ee;
/* rgb */ color: rgb(217, 114, 238);
/* oklch */ color: oklch(71.5% 0.200 320.6);
Tailwind
colors: {
  custom: {
    50: '#e79ef4',
    500: '#d972ee',
    950: '#000000',
  },
}
SCSS
$custom: #d972ee;
$custom-light: #e79ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#d972ee",
  "rgb": {
    "r": 217,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 289.839,
    "s": 78.481,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71521,
    "c": 0.19971,
    "h": 320.6
  },
  "luminance": 0.32959
}

Semantic roles & 50–950 ramp

primary
#D972EE
secondary
#D2F0CC
accent
#DB0B2E
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D972EE

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

Preview Lab → · Contrast checker → · Palette generator →

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