#972AB9#972AB9

#972AB9 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.218 H 316.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#972AB9
RGBrgb(151, 42, 185)
HSLhsl(286, 63%, 45%)
HSVhsv(286, 77%, 73%)
CMYKcmyk(18.4%, 77.3%, 0%, 27.5%)
CIE-LABlab(40.80, 63.78, -53.20)
CIE-LCHlch(40.80, 83.05, 320.17°)
OKLaboklab(51.81% 0.1581 -0.1499)
OKLCHoklch(51.81% 0.218 316.5)
XYZxyz(22.3461, 11.7390, 46.9783)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972AB9 #4CB92A
analogous
#4F2AB9 #972AB9 #B92A94
triadic
#972AB9 #B9972A #2AB997
tetradic
#972AB9 #B94F2A #4CB92A #2A94B9
square
#972AB9 #B94F2A #4CB92A #2A94B9
split-complementary
#972AB9 #94B92A #2AB94F
monochromatic
#461355 #6E1F87 #972AB9 #B54AD6 #C97CE1

Accessibility & contrast

On white

6.27
#972AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#972AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972AB9
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972AB9#FFFFFF#000000##FFFFFF
##972AB91.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#2A63B6
Tritanopia (blue-blind)
#954A71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #972ab9;
/* rgb */ color: rgb(151, 42, 185);
/* oklch */ color: oklch(51.8% 0.218 316.5);
Tailwind
colors: {
  custom: {
    50: '#ba70cf',
    500: '#972ab9',
    950: '#000000',
  },
}
SCSS
$custom: #972ab9;
$custom-light: #ba70cf;
$custom-dark: #000000;
JSON
{
  "hex": "#972ab9",
  "rgb": {
    "r": 151,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 285.734,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51812,
    "c": 0.21786,
    "h": 316.5
  },
  "luminance": 0.11738
}

Semantic roles & 50–950 ramp

primary
#972AB9
secondary
#89CA75
accent
#E64269
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #972AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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