#972AAA#972AAA

#972AAA is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.205 H 321.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#972AAA
RGBrgb(151, 42, 170)
HSLhsl(291, 60%, 42%)
HSVhsv(291, 75%, 67%)
CMYKcmyk(11.2%, 75.3%, 0%, 33.3%)
CIE-LABlab(39.81, 60.95, -45.90)
CIE-LCHlch(39.81, 76.30, 323.02°)
OKLaboklab(50.8% 0.1599 -0.1285)
OKLCHoklch(50.8% 0.205 321.2)
XYZxyz(20.8453, 11.1387, 39.0744)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972AAA #3DAA2A
analogous
#572AAA #972AAA #AA2A7D
triadic
#972AAA #AA972A #2AAA97
tetradic
#972AAA #AA572A #3DAA2A #2A7DAA
square
#972AAA #AA572A #3DAA2A #2A7DAA
split-complementary
#972AAA #7DAA2A #2AAA57
monochromatic
#401248 #6B1E79 #972AAA #BB41D0 #CC72DC

Accessibility & contrast

On white

6.51
#972AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#972AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972AAA
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972AAA#FFFFFF#000000##FFFFFF
##972AAA1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #972aaa;
/* rgb */ color: rgb(151, 42, 170);
/* oklch */ color: oklch(50.8% 0.205 321.2);
Tailwind
colors: {
  custom: {
    50: '#b96fc4',
    500: '#972aaa',
    950: '#000000',
  },
}
SCSS
$custom: #972aaa;
$custom-light: #b96fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#972aaa",
  "rgb": {
    "r": 151,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 291.094,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50801,
    "c": 0.20512,
    "h": 321.2
  },
  "luminance": 0.11138
}

Semantic roles & 50–950 ramp

primary
#972AAA
secondary
#79C36C
accent
#E4445C
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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