#972BA6#972BA6

#972BA6 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.6% C 0.201 H 322.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#972BA6
RGBrgb(151, 43, 166)
HSLhsl(293, 59%, 41%)
HSVhsv(293, 74%, 65%)
CMYKcmyk(9%, 74.1%, 0%, 34.9%)
CIE-LABlab(39.68, 59.88, -43.71)
CIE-LCHlch(39.68, 74.14, 323.87°)
OKLaboklab(50.63% 0.1592 -0.1221)
OKLCHoklch(50.63% 0.201 322.5)
XYZxyz(20.5086, 11.0614, 37.1238)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BA6 #3AA62B
analogous
#592BA6 #972BA6 #A62B77
triadic
#972BA6 #A6972B #2BA697
tetradic
#972BA6 #A6592B #3AA62B #2B77A6
square
#972BA6 #A6592B #3AA62B #2B77A6
split-complementary
#972BA6 #77A62B #2BA659
monochromatic
#3F1245 #6B1E75 #972BA6 #BC41CE #CD71DA

Accessibility & contrast

On white

6.54
#972BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#972BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972BA6
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972BA6#FFFFFF#000000##FFFFFF
##972BA61.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#3E62A3
Tritanopia (blue-blind)
#994266
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #972ba6;
/* rgb */ color: rgb(151, 43, 166);
/* oklch */ color: oklch(50.6% 0.201 322.5);
Tailwind
colors: {
  custom: {
    50: '#b970c1',
    500: '#972ba6',
    950: '#000000',
  },
}
SCSS
$custom: #972ba6;
$custom-light: #b970c1;
$custom-dark: #000000;
JSON
{
  "hex": "#972ba6",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 292.683,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50629,
    "c": 0.20068,
    "h": 322.5
  },
  "luminance": 0.1106
}

Semantic roles & 50–950 ramp

primary
#972BA6
secondary
#76C16B
accent
#E24659
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #972BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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