#972AA7#972AA7

#972AA7 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.203 H 322.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#972AA7
RGBrgb(151, 42, 167)
HSLhsl(292, 60%, 41%)
HSVhsv(292, 75%, 65%)
CMYKcmyk(9.6%, 74.9%, 0%, 34.5%)
CIE-LABlab(39.62, 60.41, -44.41)
CIE-LCHlch(39.62, 74.97, 323.68°)
OKLaboklab(50.61% 0.1601 -0.1242)
OKLCHoklch(50.61% 0.203 322.2)
XYZxyz(20.5648, 11.0264, 37.5968)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972AA7 #3AA72A
analogous
#582AA7 #972AA7 #A72A78
triadic
#972AA7 #A7972A #2AA797
tetradic
#972AA7 #A7582A #3AA72A #2A78A7
square
#972AA7 #A7582A #3AA72A #2A78A7
split-complementary
#972AA7 #78A72A #2AA758
monochromatic
#3F1145 #6B1E76 #972AA7 #BC3FCF #CD70DB

Accessibility & contrast

On white

6.55
#972AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #972AA7
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972AA7#FFFFFF#000000##FFFFFF
##972AA71.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #972aa7;
/* rgb */ color: rgb(151, 42, 167);
/* oklch */ color: oklch(50.6% 0.203 322.2);
Tailwind
colors: {
  custom: {
    50: '#b96fc2',
    500: '#972aa7',
    950: '#000000',
  },
}
SCSS
$custom: #972aa7;
$custom-light: #b96fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#972aa7",
  "rgb": {
    "r": 151,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 292.32,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50607,
    "c": 0.2026,
    "h": 322.2
  },
  "luminance": 0.11025
}

Semantic roles & 50–950 ramp

primary
#972AA7
secondary
#76C26B
accent
#E34559
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #972AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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