#972CB3#972CB3

#972CB3 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.211 H 318.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#972CB3
RGBrgb(151, 44, 179)
HSLhsl(288, 61%, 44%)
HSVhsv(288, 75%, 70%)
CMYKcmyk(15.6%, 75.4%, 0%, 29.8%)
CIE-LABlab(40.63, 61.95, -49.93)
CIE-LCHlch(40.63, 79.56, 321.13°)
OKLaboklab(51.57% 0.1571 -0.1403)
OKLCHoklch(51.57% 0.211 318.2)
XYZxyz(21.7987, 11.6364, 43.7369)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972CB3 #48B32C
analogous
#542CB3 #972CB3 #B32C8B
triadic
#972CB3 #B3972C #2CB397
tetradic
#972CB3 #B3542C #48B32C #2C8BB3
square
#972CB3 #B3542C #48B32C #2C8BB3
split-complementary
#972CB3 #8BB32C #2CB354
monochromatic
#441451 #6E2082 #972CB3 #B64AD2 #CA7BDF

Accessibility & contrast

On white

6.31
#972CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#972CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972CB3
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972CB3#FFFFFF#000000##FFFFFF
##972CB31.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#3363B0
Tritanopia (blue-blind)
#96496E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #972cb3;
/* rgb */ color: rgb(151, 44, 179);
/* oklch */ color: oklch(51.6% 0.211 318.2);
Tailwind
colors: {
  custom: {
    50: '#ba71ca',
    500: '#972cb3',
    950: '#000000',
  },
}
SCSS
$custom: #972cb3;
$custom-light: #ba71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#972cb3",
  "rgb": {
    "r": 151,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 287.556,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51568,
    "c": 0.21067,
    "h": 318.2
  },
  "luminance": 0.11635
}

Semantic roles & 50–950 ramp

primary
#972CB3
secondary
#85C774
accent
#E44465
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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