#972EB9#972EB9

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

Color values

HEX#972EB9
RGBrgb(151, 46, 185)
HSLhsl(285, 60%, 45%)
HSVhsv(285, 75%, 73%)
CMYKcmyk(18.4%, 75.1%, 0%, 27.5%)
CIE-LABlab(41.27, 62.41, -52.43)
CIE-LCHlch(41.27, 81.51, 319.96°)
OKLaboklab(52.15% 0.1546 -0.1477)
OKLCHoklch(52.15% 0.214 316.3)
XYZxyz(22.4951, 12.0370, 47.0280)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972EB9 #50B92E
analogous
#522EB9 #972EB9 #B92E95
triadic
#972EB9 #B9972E #2EB997
tetradic
#972EB9 #B9522E #50B92E #2E95B9
square
#972EB9 #B9522E #50B92E #2E95B9
split-complementary
#972EB9 #95B92E #2EB952
monochromatic
#471657 #6F2288 #972EB9 #B451D4 #C982E0

Accessibility & contrast

On white

6.16
#972EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#972EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972EB9
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972EB9#FFFFFF#000000##FFFFFF
##972EB91.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #972eb9;
/* rgb */ color: rgb(151, 46, 185);
/* oklch */ color: oklch(52.1% 0.214 316.3);
Tailwind
colors: {
  custom: {
    50: '#ba72cf',
    500: '#972eb9',
    950: '#000000',
  },
}
SCSS
$custom: #972eb9;
$custom-light: #ba72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#972eb9",
  "rgb": {
    "r": 151,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 285.324,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52149,
    "c": 0.21379,
    "h": 316.3
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

primary
#972EB9
secondary
#8DC97A
accent
#E3446B
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #972EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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