#972AA8#972AA8

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

Color values

HEX#972AA8
RGBrgb(151, 42, 168)
HSLhsl(292, 60%, 41%)
HSVhsv(292, 75%, 66%)
CMYKcmyk(10.1%, 75%, 0%, 34.1%)
CIE-LABlab(39.69, 60.59, -44.90)
CIE-LCHlch(39.69, 75.41, 323.46°)
OKLaboklab(50.67% 0.16 -0.1256)
OKLCHoklch(50.67% 0.203 321.9)
XYZxyz(20.6576, 11.0636, 38.0856)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972AA8 #3BA82A
analogous
#582AA8 #972AA8 #A82A7A
triadic
#972AA8 #A8972A #2AA897
tetradic
#972AA8 #A8582A #3BA82A #2A7AA8
square
#972AA8 #A8582A #3BA82A #2A7AA8
split-complementary
#972AA8 #7AA82A #2AA858
monochromatic
#3F1246 #6B1E77 #972AA8 #BC40CF #CD71DB

Accessibility & contrast

On white

6.54
#972AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#972AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972AA8
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972AA8#FFFFFF#000000##FFFFFF
##972AA81.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#3B61A5
Tritanopia (blue-blind)
#994267
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #972aa8;
/* rgb */ color: rgb(151, 42, 168);
/* oklch */ color: oklch(50.7% 0.203 321.9);
Tailwind
colors: {
  custom: {
    50: '#b96fc2',
    500: '#972aa8',
    950: '#000000',
  },
}
SCSS
$custom: #972aa8;
$custom-light: #b96fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#972aa8",
  "rgb": {
    "r": 151,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 291.905,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50672,
    "c": 0.20343,
    "h": 321.9
  },
  "luminance": 0.11062
}

Semantic roles & 50–950 ramp

primary
#972AA8
secondary
#77C36B
accent
#E3455A
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #972AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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