#972CB1#972CB1

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

Color values

HEX#972CB1
RGBrgb(151, 44, 177)
HSLhsl(288, 60%, 43%)
HSVhsv(288, 75%, 69%)
CMYKcmyk(14.7%, 75.1%, 0%, 30.6%)
CIE-LABlab(40.50, 61.57, -48.95)
CIE-LCHlch(40.50, 78.66, 321.51°)
OKLaboklab(51.43% 0.1574 -0.1375)
OKLCHoklch(51.43% 0.209 318.9)
XYZxyz(21.5979, 11.5560, 42.6793)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972CB1 #46B12C
analogous
#552CB1 #972CB1 #B12C88
triadic
#972CB1 #B1972C #2CB197
tetradic
#972CB1 #B1552C #46B12C #2C88B1
square
#972CB1 #B1552C #46B12C #2C88B1
split-complementary
#972CB1 #88B12C #2CB155
monochromatic
#43144F #6D2080 #972CB1 #B749D2 #CA7ADE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##972CB1#FFFFFF#000000##FFFFFF
##972CB11.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)
#0059B5
Deuteranopia (green-blind)
#3563AE
Tritanopia (blue-blind)
#97486D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #972cb1;
/* rgb */ color: rgb(151, 44, 177);
/* oklch */ color: oklch(51.4% 0.209 318.9);
Tailwind
colors: {
  custom: {
    50: '#ba71c9',
    500: '#972cb1',
    950: '#000000',
  },
}
SCSS
$custom: #972cb1;
$custom-light: #ba71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#972cb1",
  "rgb": {
    "r": 151,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 288.271,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51433,
    "c": 0.20896,
    "h": 318.9
  },
  "luminance": 0.11555
}

Semantic roles & 50–950 ramp

primary
#972CB1
secondary
#83C673
accent
#E34464
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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