#972AA6#972AA6

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

Color values

HEX#972AA6
RGBrgb(151, 42, 166)
HSLhsl(293, 60%, 41%)
HSVhsv(293, 75%, 65%)
CMYKcmyk(9%, 74.7%, 0%, 34.9%)
CIE-LABlab(39.56, 60.22, -43.91)
CIE-LCHlch(39.56, 74.53, 323.91°)
OKLaboklab(50.54% 0.1602 -0.1227)
OKLCHoklch(50.54% 0.202 322.5)
XYZxyz(20.4727, 10.9896, 37.1119)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972AA6 #39A62A
analogous
#592AA6 #972AA6 #A62A77
triadic
#972AA6 #A6972A #2AA697
tetradic
#972AA6 #A6592A #39A62A #2A77A6
square
#972AA6 #A6592A #39A62A #2A77A6
split-complementary
#972AA6 #77A62A #2AA659
monochromatic
#3E1144 #6B1E75 #972AA6 #BD3FCE #CE70DB

Accessibility & contrast

On white

6.57
#972AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#972AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972AA6
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972AA6#FFFFFF#000000##FFFFFF
##972AA61.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #972aa6;
/* rgb */ color: rgb(151, 42, 166);
/* oklch */ color: oklch(50.5% 0.202 322.5);
Tailwind
colors: {
  custom: {
    50: '#b96fc1',
    500: '#972aa6',
    950: '#000000',
  },
}
SCSS
$custom: #972aa6;
$custom-light: #b96fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#972aa6",
  "rgb": {
    "r": 151,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 292.742,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50543,
    "c": 0.20177,
    "h": 322.5
  },
  "luminance": 0.10988
}

Semantic roles & 50–950 ramp

primary
#972AA6
secondary
#75C26A
accent
#E34558
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #972AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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