#972DB9#972DB9

#972DB9 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.215 H 316.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#972DB9
RGBrgb(151, 45, 185)
HSLhsl(285, 61%, 45%)
HSVhsv(285, 76%, 73%)
CMYKcmyk(18.4%, 75.7%, 0%, 27.5%)
CIE-LABlab(41.15, 62.76, -52.63)
CIE-LCHlch(41.15, 81.90, 320.02°)
OKLaboklab(52.06% 0.1555 -0.1483)
OKLCHoklch(52.06% 0.215 316.4)
XYZxyz(22.4565, 11.9598, 47.0151)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972DB9 #4FB92D
analogous
#512DB9 #972DB9 #B92D95
triadic
#972DB9 #B9972D #2DB997
tetradic
#972DB9 #B9512D #4FB92D #2D95B9
square
#972DB9 #B9512D #4FB92D #2D95B9
split-complementary
#972DB9 #95B92D #2DB951
monochromatic
#471557 #6F2188 #972DB9 #B44FD4 #C980E0

Accessibility & contrast

On white

6.19
#972DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#972DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972DB9
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972DB9#FFFFFF#000000##FFFFFF
##972DB91.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#2C64B6
Tritanopia (blue-blind)
#954C72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #972db9;
/* rgb */ color: rgb(151, 45, 185);
/* oklch */ color: oklch(52.1% 0.215 316.4);
Tailwind
colors: {
  custom: {
    50: '#ba71cf',
    500: '#972db9',
    950: '#000000',
  },
}
SCSS
$custom: #972db9;
$custom-light: #ba71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#972db9",
  "rgb": {
    "r": 151,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 285.429,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52063,
    "c": 0.21484,
    "h": 316.4
  },
  "luminance": 0.11959
}

Semantic roles & 50–950 ramp

primary
#972DB9
secondary
#8CC979
accent
#E4446B
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #972DB9

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

Preview Lab → · Contrast checker → · Palette generator →

#972DB9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva