#972CA5#972CA5

#972CA5 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.7% C 0.199 H 322.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#972CA5
RGBrgb(151, 44, 165)
HSLhsl(293, 58%, 41%)
HSVhsv(293, 73%, 65%)
CMYKcmyk(8.5%, 73.3%, 0%, 35.3%)
CIE-LABlab(39.75, 59.34, -43.02)
CIE-LCHlch(39.75, 73.30, 324.06°)
OKLaboklab(50.65% 0.1583 -0.1201)
OKLCHoklch(50.65% 0.199 322.8)
XYZxyz(20.4540, 11.0985, 36.6549)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972CA5 #3AA52C
analogous
#5A2CA5 #972CA5 #A52C76
triadic
#972CA5 #A5972C #2CA597
tetradic
#972CA5 #A55A2C #3AA52C #2C76A5
square
#972CA5 #A55A2C #3AA52C #2C76A5
split-complementary
#972CA5 #76A52C #2CA55A
monochromatic
#3F1244 #6B1F75 #972CA5 #BC42CD #CD72D9

Accessibility & contrast

On white

6.52
#972CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#972CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972CA5
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972CA5#FFFFFF#000000##FFFFFF
##972CA51.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#3F62A2
Tritanopia (blue-blind)
#994266
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #972ca5;
/* rgb */ color: rgb(151, 44, 165);
/* oklch */ color: oklch(50.7% 0.199 322.8);
Tailwind
colors: {
  custom: {
    50: '#b970c0',
    500: '#972ca5',
    950: '#000000',
  },
}
SCSS
$custom: #972ca5;
$custom-light: #b970c0;
$custom-dark: #000000;
JSON
{
  "hex": "#972ca5",
  "rgb": {
    "r": 151,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 293.058,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50654,
    "c": 0.19874,
    "h": 322.8
  },
  "luminance": 0.11097
}

Semantic roles & 50–950 ramp

primary
#972CA5
secondary
#76C16C
accent
#E14759
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #972CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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