#972AB5#972AB5

#972AB5 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.214 H 317.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#972AB5
RGBrgb(151, 42, 181)
HSLhsl(287, 62%, 44%)
HSVhsv(287, 77%, 71%)
CMYKcmyk(16.6%, 76.8%, 0%, 29%)
CIE-LABlab(40.53, 63.01, -51.28)
CIE-LCHlch(40.53, 81.24, 320.86°)
OKLaboklab(51.54% 0.1586 -0.1443)
OKLCHoklch(51.54% 0.214 317.7)
XYZxyz(21.9298, 11.5724, 44.7857)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972AB5 #48B52A
analogous
#512AB5 #972AB5 #B52A8D
triadic
#972AB5 #B5972A #2AB597
tetradic
#972AB5 #B5512A #48B52A #2A8DB5
square
#972AB5 #B5512A #48B52A #2A8DB5
split-complementary
#972AB5 #8DB52A #2AB551
monochromatic
#441352 #6E1E83 #972AB5 #B648D4 #CA79E0

Accessibility & contrast

On white

6.34
#972AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#972AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972AB5
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972AB5#FFFFFF#000000##FFFFFF
##972AB51.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#2F63B2
Tritanopia (blue-blind)
#96486F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #972ab5;
/* rgb */ color: rgb(151, 42, 181);
/* oklch */ color: oklch(51.5% 0.214 317.7);
Tailwind
colors: {
  custom: {
    50: '#ba70cc',
    500: '#972ab5',
    950: '#000000',
  },
}
SCSS
$custom: #972ab5;
$custom-light: #ba70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#972ab5",
  "rgb": {
    "r": 151,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 287.05,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51536,
    "c": 0.21444,
    "h": 317.7
  },
  "luminance": 0.11571
}

Semantic roles & 50–950 ramp

primary
#972AB5
secondary
#85C873
accent
#E54266
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #972AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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