#972A8A#972A8A

#972A8A is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.179 H 333.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#972A8A
RGBrgb(151, 42, 138)
HSLhsl(307, 56%, 38%)
HSVhsv(307, 72%, 59%)
CMYKcmyk(0%, 72.2%, 8.6%, 40.8%)
CIE-LABlab(37.97, 55.44, -29.46)
CIE-LCHlch(37.97, 62.78, 332.02°)
OKLaboklab(48.89% 0.1601 -0.0807)
OKLCHoklch(48.89% 0.179 333.2)
XYZxyz(18.1780, 10.0717, 25.0265)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972A8A #2A9737
analogous
#6D2A97 #972A8A #972A53
triadic
#972A8A #8A972A #2A8A97
tetradic
#972A8A #976D2A #2A9737 #2A5397
square
#972A8A #976D2A #2A9737 #2A5397
split-complementary
#972A8A #53972A #2A976D
monochromatic
#370F32 #671D5E #972A8A #C737B6 #D567C8

Accessibility & contrast

On white

6.97
#972A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#972A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972A8A
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972A8A#FFFFFF#000000##FFFFFF
##972A8A1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8D
Deuteranopia (green-blind)
#4E5F87
Tritanopia (blue-blind)
#9E3457
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #972a8a;
/* rgb */ color: rgb(151, 42, 138);
/* oklch */ color: oklch(48.9% 0.179 333.2);
Tailwind
colors: {
  custom: {
    50: '#b96eac',
    500: '#972a8a',
    950: '#000000',
  },
}
SCSS
$custom: #972a8a;
$custom-light: #b96eac;
$custom-dark: #000000;
JSON
{
  "hex": "#972a8a",
  "rgb": {
    "r": 151,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 307.156,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48889,
    "c": 0.17931,
    "h": 333.2
  },
  "luminance": 0.1007
}

Semantic roles & 50–950 ramp

primary
#972A8A
secondary
#62BB6D
accent
#E05A48
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #972A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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