#972AA9#972AA9

#972AA9 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.204 H 321.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#972AA9
RGBrgb(151, 42, 169)
HSLhsl(291, 60%, 41%)
HSVhsv(291, 75%, 66%)
CMYKcmyk(10.7%, 75.1%, 0%, 33.7%)
CIE-LABlab(39.75, 60.77, -45.40)
CIE-LCHlch(39.75, 75.86, 323.24°)
OKLaboklab(50.74% 0.1599 -0.1271)
OKLCHoklch(50.74% 0.204 321.5)
XYZxyz(20.7511, 11.1010, 38.5781)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972AA9 #3CA92A
analogous
#582AA9 #972AA9 #A92A7C
triadic
#972AA9 #A9972A #2AA997
tetradic
#972AA9 #A9582A #3CA92A #2A7CA9
square
#972AA9 #A9582A #3CA92A #2A7CA9
split-complementary
#972AA9 #7CA92A #2AA958
monochromatic
#3F1247 #6B1E78 #972AA9 #BB41D0 #CD72DC

Accessibility & contrast

On white

6.52
#972AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#972AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972AA9
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972AA9#FFFFFF#000000##FFFFFF
##972AA91.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#3B62A6
Tritanopia (blue-blind)
#984368
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #972aa9;
/* rgb */ color: rgb(151, 42, 169);
/* oklch */ color: oklch(50.7% 0.204 321.5);
Tailwind
colors: {
  custom: {
    50: '#b96fc3',
    500: '#972aa9',
    950: '#000000',
  },
}
SCSS
$custom: #972aa9;
$custom-light: #b96fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#972aa9",
  "rgb": {
    "r": 151,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 291.496,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50736,
    "c": 0.20427,
    "h": 321.5
  },
  "luminance": 0.111
}

Semantic roles & 50–950 ramp

primary
#972AA9
secondary
#78C36C
accent
#E3445B
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #972AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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