#972AA5#972AA5

#972AA5 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.5% C 0.201 H 322.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#972AA5
RGBrgb(151, 42, 165)
HSLhsl(293, 59%, 41%)
HSVhsv(293, 75%, 65%)
CMYKcmyk(8.5%, 74.5%, 0%, 35.3%)
CIE-LABlab(39.50, 60.04, -43.41)
CIE-LCHlch(39.50, 74.09, 324.14°)
OKLaboklab(50.48% 0.1602 -0.1212)
OKLCHoklch(50.48% 0.201 322.9)
XYZxyz(20.3813, 10.9531, 36.6306)
Luminance0.1095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972AA5 #38A52A
analogous
#5A2AA5 #972AA5 #A52A75
triadic
#972AA5 #A5972A #2AA597
tetradic
#972AA5 #A55A2A #38A52A #2A75A5
square
#972AA5 #A55A2A #38A52A #2A75A5
split-complementary
#972AA5 #75A52A #2AA55A
monochromatic
#3E1143 #6A1E74 #972AA5 #BE3ECE #CE6FDA

Accessibility & contrast

On white

6.58
#972AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#972AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972AA5
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972AA5#FFFFFF#000000##FFFFFF
##972AA51.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#3E61A2
Tritanopia (blue-blind)
#994166
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #972aa5;
/* rgb */ color: rgb(151, 42, 165);
/* oklch */ color: oklch(50.5% 0.201 322.9);
Tailwind
colors: {
  custom: {
    50: '#b96fc0',
    500: '#972aa5',
    950: '#000000',
  },
}
SCSS
$custom: #972aa5;
$custom-light: #b96fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#972aa5",
  "rgb": {
    "r": 151,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 293.171,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5048,
    "c": 0.20093,
    "h": 322.9
  },
  "luminance": 0.10952
}

Semantic roles & 50–950 ramp

primary
#972AA5
secondary
#73C169
accent
#E34557
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #972AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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