#972CB2#972CB2

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

Color values

HEX#972CB2
RGBrgb(151, 44, 178)
HSLhsl(288, 60%, 44%)
HSVhsv(288, 75%, 70%)
CMYKcmyk(15.2%, 75.3%, 0%, 30.2%)
CIE-LABlab(40.57, 61.76, -49.44)
CIE-LCHlch(40.57, 79.11, 321.32°)
OKLaboklab(51.5% 0.1573 -0.1389)
OKLCHoklch(51.5% 0.21 318.5)
XYZxyz(21.6980, 11.5960, 43.2062)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972CB2 #47B22C
analogous
#542CB2 #972CB2 #B22C8A
triadic
#972CB2 #B2972C #2CB297
tetradic
#972CB2 #B2542C #47B22C #2C8AB2
square
#972CB2 #B2542C #47B22C #2C8AB2
split-complementary
#972CB2 #8AB22C #2CB254
monochromatic
#441450 #6D2081 #972CB2 #B649D2 #CA7ADE

Accessibility & contrast

On white

6.33
#972CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#972CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972CB2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972CB2#FFFFFF#000000##FFFFFF
##972CB21.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#3463AF
Tritanopia (blue-blind)
#96486D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #972cb2;
/* rgb */ color: rgb(151, 44, 178);
/* oklch */ color: oklch(51.5% 0.210 318.5);
Tailwind
colors: {
  custom: {
    50: '#ba71ca',
    500: '#972cb2',
    950: '#000000',
  },
}
SCSS
$custom: #972cb2;
$custom-light: #ba71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#972cb2",
  "rgb": {
    "r": 151,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 287.91,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.515,
    "c": 0.20982,
    "h": 318.5
  },
  "luminance": 0.11595
}

Semantic roles & 50–950 ramp

primary
#972CB2
secondary
#84C673
accent
#E44464
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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