#972CB9#972CB9

#972CB9 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.216 H 316.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#972CB9
RGBrgb(151, 44, 185)
HSLhsl(286, 62%, 45%)
HSVhsv(286, 76%, 73%)
CMYKcmyk(18.4%, 76.2%, 0%, 27.5%)
CIE-LABlab(41.03, 63.10, -52.82)
CIE-LCHlch(41.03, 82.29, 320.07°)
OKLaboklab(51.98% 0.1564 -0.1488)
OKLCHoklch(51.98% 0.216 316.4)
XYZxyz(22.4188, 11.8844, 47.0025)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972CB9 #4EB92C
analogous
#512CB9 #972CB9 #B92C94
triadic
#972CB9 #B9972C #2CB997
tetradic
#972CB9 #B9512C #4EB92C #2C94B9
square
#972CB9 #B9512C #4EB92C #2C94B9
split-complementary
#972CB9 #94B92C #2CB951
monochromatic
#461456 #6F2088 #972CB9 #B44DD5 #C97FE1

Accessibility & contrast

On white

6.22
#972CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#972CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972CB9
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972CB9#FFFFFF#000000##FFFFFF
##972CB91.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#2C64B6
Tritanopia (blue-blind)
#954B71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #972cb9;
/* rgb */ color: rgb(151, 44, 185);
/* oklch */ color: oklch(52.0% 0.216 316.4);
Tailwind
colors: {
  custom: {
    50: '#ba71cf',
    500: '#972cb9',
    950: '#000000',
  },
}
SCSS
$custom: #972cb9;
$custom-light: #ba71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#972cb9",
  "rgb": {
    "r": 151,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 285.532,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51977,
    "c": 0.21587,
    "h": 316.4
  },
  "luminance": 0.11883
}

Semantic roles & 50–950 ramp

primary
#972CB9
secondary
#8BC978
accent
#E5436A
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #972CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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