#972E8A#972E8A

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

Color values

HEX#972E8A
RGBrgb(151, 46, 138)
HSLhsl(307, 53%, 39%)
HSVhsv(307, 70%, 59%)
CMYKcmyk(0%, 69.5%, 8.6%, 40.8%)
CIE-LABlab(38.50, 53.95, -28.63)
CIE-LCHlch(38.50, 61.08, 332.05°)
OKLaboklab(49.27% 0.1558 -0.0784)
OKLCHoklch(49.27% 0.174 333.3)
XYZxyz(18.3270, 10.3698, 25.0761)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972E8A #2E973B
analogous
#6F2E97 #972E8A #972E55
triadic
#972E8A #8A972E #2E8A97
tetradic
#972E8A #976F2E #2E973B #2E5597
square
#972E8A #976F2E #2E973B #2E5597
split-complementary
#972E8A #55972E #2E976F
monochromatic
#391134 #68205F #972E8A #C43EB4 #D26DC6

Accessibility & contrast

On white

6.83
#972E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#972E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972E8A
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972E8A#FFFFFF#000000##FFFFFF
##972E8A1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #972e8a;
/* rgb */ color: rgb(151, 46, 138);
/* oklch */ color: oklch(49.3% 0.174 333.3);
Tailwind
colors: {
  custom: {
    50: '#b970ac',
    500: '#972e8a',
    950: '#000000',
  },
}
SCSS
$custom: #972e8a;
$custom-light: #b970ac;
$custom-dark: #000000;
JSON
{
  "hex": "#972e8a",
  "rgb": {
    "r": 151,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 307.429,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4927,
    "c": 0.17437,
    "h": 333.3
  },
  "luminance": 0.10368
}

Semantic roles & 50–950 ramp

primary
#972E8A
secondary
#67BA71
accent
#DD5D4B
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #972E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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