#972C8A#972C8A

#972C8A is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.177 H 333.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#972C8A
RGBrgb(151, 44, 138)
HSLhsl(307, 55%, 38%)
HSVhsv(307, 71%, 59%)
CMYKcmyk(0%, 70.9%, 8.6%, 40.8%)
CIE-LABlab(38.23, 54.71, -29.05)
CIE-LCHlch(38.23, 61.95, 332.03°)
OKLaboklab(49.08% 0.158 -0.0796)
OKLCHoklch(49.08% 0.177 333.3)
XYZxyz(18.2507, 10.2172, 25.0507)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972C8A #2C9739
analogous
#6E2C97 #972C8A #972C54
triadic
#972C8A #8A972C #2C8A97
tetradic
#972C8A #976E2C #2C9739 #2C5497
square
#972C8A #976E2C #2C9739 #2C5497
split-complementary
#972C8A #54972C #2C976E
monochromatic
#381033 #681E5F #972C8A #C63AB5 #D46AC7

Accessibility & contrast

On white

6.90
#972C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#972C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972C8A
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972C8A#FFFFFF#000000##FFFFFF
##972C8A1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508D
Deuteranopia (green-blind)
#4F5F87
Tritanopia (blue-blind)
#9E3657
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #972c8a;
/* rgb */ color: rgb(151, 44, 138);
/* oklch */ color: oklch(49.1% 0.177 333.3);
Tailwind
colors: {
  custom: {
    50: '#b96fac',
    500: '#972c8a',
    950: '#000000',
  },
}
SCSS
$custom: #972c8a;
$custom-light: #b96fac;
$custom-dark: #000000;
JSON
{
  "hex": "#972c8a",
  "rgb": {
    "r": 151,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 307.29,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49076,
    "c": 0.17688,
    "h": 333.3
  },
  "luminance": 0.10216
}

Semantic roles & 50–950 ramp

primary
#972C8A
secondary
#65BA6F
accent
#DE5C4A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #972C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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