#972EAB#972EAB

#972EAB is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.2% C 0.202 H 320.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#972EAB
RGBrgb(151, 46, 171)
HSLhsl(290, 58%, 43%)
HSVhsv(290, 73%, 67%)
CMYKcmyk(11.7%, 73.1%, 0%, 32.9%)
CIE-LABlab(40.37, 59.73, -45.60)
CIE-LCHlch(40.37, 75.15, 322.64°)
OKLaboklab(51.22% 0.156 -0.1277)
OKLCHoklch(51.22% 0.202 320.7)
XYZxyz(21.0893, 11.4747, 39.6242)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972EAB #42AB2E
analogous
#582EAB #972EAB #AB2E81
triadic
#972EAB #AB972E #2EAB97
tetradic
#972EAB #AB582E #42AB2E #2E81AB
square
#972EAB #AB582E #42AB2E #2E81AB
split-complementary
#972EAB #81AB2E #2EAB58
monochromatic
#42144B #6C217B #972EAB #B848CE #CB79DB

Accessibility & contrast

On white

6.37
#972EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#972EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972EAB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972EAB#FFFFFF#000000##FFFFFF
##972EAB1.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#3B63A8
Tritanopia (blue-blind)
#98466A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #972eab;
/* rgb */ color: rgb(151, 46, 171);
/* oklch */ color: oklch(51.2% 0.202 320.7);
Tailwind
colors: {
  custom: {
    50: '#b971c5',
    500: '#972eab',
    950: '#000000',
  },
}
SCSS
$custom: #972eab;
$custom-light: #b971c5;
$custom-dark: #000000;
JSON
{
  "hex": "#972eab",
  "rgb": {
    "r": 151,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 290.4,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51217,
    "c": 0.2016,
    "h": 320.7
  },
  "luminance": 0.11474
}

Semantic roles & 50–950 ramp

primary
#972EAB
secondary
#7FC372
accent
#E14760
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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