#972B8A#972B8A

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

Color values

HEX#972B8A
RGBrgb(151, 43, 138)
HSLhsl(307, 56%, 38%)
HSVhsv(307, 72%, 59%)
CMYKcmyk(0%, 71.5%, 8.6%, 40.8%)
CIE-LABlab(38.10, 55.08, -29.26)
CIE-LCHlch(38.10, 62.37, 332.02°)
OKLaboklab(48.98% 0.159 -0.0802)
OKLCHoklch(48.98% 0.178 333.2)
XYZxyz(18.2139, 10.1435, 25.0384)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972B8A #2B9738
analogous
#6E2B97 #972B8A #972B54
triadic
#972B8A #8A972B #2B8A97
tetradic
#972B8A #976E2B #2B9738 #2B5497
square
#972B8A #976E2B #2B9738 #2B5497
split-complementary
#972B8A #54972B #2B976E
monochromatic
#381033 #671D5E #972B8A #C739B5 #D468C7

Accessibility & contrast

On white

6.93
#972B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#972B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972B8A
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972B8A#FFFFFF#000000##FFFFFF
##972B8A1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508D
Deuteranopia (green-blind)
#4E5F87
Tritanopia (blue-blind)
#9E3557
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #972b8a;
/* rgb */ color: rgb(151, 43, 138);
/* oklch */ color: oklch(49.0% 0.178 333.2);
Tailwind
colors: {
  custom: {
    50: '#b96fac',
    500: '#972b8a',
    950: '#000000',
  },
}
SCSS
$custom: #972b8a;
$custom-light: #b96fac;
$custom-dark: #000000;
JSON
{
  "hex": "#972b8a",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 307.222,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48982,
    "c": 0.17811,
    "h": 333.2
  },
  "luminance": 0.10142
}

Semantic roles & 50–950 ramp

primary
#972B8A
secondary
#63BB6E
accent
#DF5B49
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #972B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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