#972CB6#972CB6

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

Color values

HEX#972CB6
RGBrgb(151, 44, 182)
HSLhsl(287, 61%, 44%)
HSVhsv(287, 76%, 71%)
CMYKcmyk(17%, 75.8%, 0%, 28.6%)
CIE-LABlab(40.83, 62.53, -51.38)
CIE-LCHlch(40.83, 80.93, 320.59°)
OKLaboklab(51.77% 0.1568 -0.1446)
OKLCHoklch(51.77% 0.213 317.3)
XYZxyz(22.1054, 11.7590, 45.3522)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972CB6 #4BB62C
analogous
#522CB6 #972CB6 #B62C90
triadic
#972CB6 #B6972C #2CB697
tetradic
#972CB6 #B6522C #4BB62C #2C90B6
square
#972CB6 #B6522C #4BB62C #2C90B6
split-complementary
#972CB6 #90B62C #2CB652
monochromatic
#451453 #6E2085 #972CB6 #B54CD4 #C97DE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##972CB6#FFFFFF#000000##FFFFFF
##972CB61.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)
#005ABA
Deuteranopia (green-blind)
#2F63B3
Tritanopia (blue-blind)
#964A70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #972cb6;
/* rgb */ color: rgb(151, 44, 182);
/* oklch */ color: oklch(51.8% 0.213 317.3);
Tailwind
colors: {
  custom: {
    50: '#ba71cd',
    500: '#972cb6',
    950: '#000000',
  },
}
SCSS
$custom: #972cb6;
$custom-light: #ba71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#972cb6",
  "rgb": {
    "r": 151,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 286.522,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51771,
    "c": 0.21326,
    "h": 317.3
  },
  "luminance": 0.11758
}

Semantic roles & 50–950 ramp

primary
#972CB6
secondary
#88C876
accent
#E44468
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #972CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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