#972F8A#972F8A

#972F8A is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.4% C 0.173 H 333.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#972F8A
RGBrgb(151, 47, 138)
HSLhsl(308, 53%, 39%)
HSVhsv(308, 69%, 59%)
CMYKcmyk(0%, 68.9%, 8.6%, 40.8%)
CIE-LABlab(38.64, 53.57, -28.41)
CIE-LCHlch(38.64, 60.64, 332.06°)
OKLaboklab(49.37% 0.1546 -0.0778)
OKLCHoklch(49.37% 0.173 333.3)
XYZxyz(18.3665, 10.4488, 25.0893)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972F8A #2F973C
analogous
#702F97 #972F8A #972F56
triadic
#972F8A #8A972F #2F8A97
tetradic
#972F8A #97702F #2F973C #2F5697
square
#972F8A #97702F #2F973C #2F5697
split-complementary
#972F8A #56972F #2F9770
monochromatic
#3A1235 #68205F #972F8A #C340B3 #D26EC6

Accessibility & contrast

On white

6.80
#972F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#972F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972F8A
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972F8A#FFFFFF#000000##FFFFFF
##972F8A1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518D
Deuteranopia (green-blind)
#506087
Tritanopia (blue-blind)
#9E3858
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #972f8a;
/* rgb */ color: rgb(151, 47, 138);
/* oklch */ color: oklch(49.4% 0.173 333.3);
Tailwind
colors: {
  custom: {
    50: '#b970ac',
    500: '#972f8a',
    950: '#000000',
  },
}
SCSS
$custom: #972f8a;
$custom-light: #b970ac;
$custom-dark: #000000;
JSON
{
  "hex": "#972f8a",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 307.5,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4937,
    "c": 0.17309,
    "h": 333.3
  },
  "luminance": 0.10447
}

Semantic roles & 50–950 ramp

primary
#972F8A
secondary
#68B973
accent
#DC5E4C
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #972F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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