#972AA4#972AA4

#972AA4 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.200 H 323.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#972AA4
RGBrgb(151, 42, 164)
HSLhsl(294, 59%, 40%)
HSVhsv(294, 74%, 64%)
CMYKcmyk(7.9%, 74.4%, 0%, 35.7%)
CIE-LABlab(39.44, 59.86, -42.91)
CIE-LCHlch(39.44, 73.65, 324.37°)
OKLaboklab(50.42% 0.1603 -0.1198)
OKLCHoklch(50.42% 0.2 323.2)
XYZxyz(20.2907, 10.9168, 36.1532)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972AA4 #37A42A
analogous
#5A2AA4 #972AA4 #A42A74
triadic
#972AA4 #A4972A #2AA497
tetradic
#972AA4 #A45A2A #37A42A #2A74A4
square
#972AA4 #A45A2A #37A42A #2A74A4
split-complementary
#972AA4 #74A42A #2AA45A
monochromatic
#3D1143 #6A1E73 #972AA4 #BE3ECD #CF6EDA

Accessibility & contrast

On white

6.60
#972AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#972AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972AA4
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972AA4#FFFFFF#000000##FFFFFF
##972AA41.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#3F61A1
Tritanopia (blue-blind)
#994165
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #972aa4;
/* rgb */ color: rgb(151, 42, 164);
/* oklch */ color: oklch(50.4% 0.200 323.2);
Tailwind
colors: {
  custom: {
    50: '#b96fbf',
    500: '#972aa4',
    950: '#000000',
  },
}
SCSS
$custom: #972aa4;
$custom-light: #b96fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#972aa4",
  "rgb": {
    "r": 151,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 293.607,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50416,
    "c": 0.2001,
    "h": 323.2
  },
  "luminance": 0.10916
}

Semantic roles & 50–950 ramp

primary
#972AA4
secondary
#72C169
accent
#E24556
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #972AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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