#972BA8#972BA8

#972BA8 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.202 H 321.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#972BA8
RGBrgb(151, 43, 168)
HSLhsl(292, 59%, 41%)
HSVhsv(292, 74%, 66%)
CMYKcmyk(10.1%, 74.4%, 0%, 34.1%)
CIE-LABlab(39.81, 60.24, -44.71)
CIE-LCHlch(39.81, 75.02, 323.42°)
OKLaboklab(50.76% 0.1591 -0.1251)
OKLCHoklch(50.76% 0.202 321.8)
XYZxyz(20.6935, 11.1354, 38.0976)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BA8 #3CA82B
analogous
#592BA8 #972BA8 #A82B7B
triadic
#972BA8 #A8972B #2BA897
tetradic
#972BA8 #A8592B #3CA82B #2B7BA8
square
#972BA8 #A8592B #3CA82B #2B7BA8
split-complementary
#972BA8 #7BA82B #2BA859
monochromatic
#3F1247 #6B1F77 #972BA8 #BB42CF #CD72DB

Accessibility & contrast

On white

6.51
#972BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#972BA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972BA8
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972BA8#FFFFFF#000000##FFFFFF
##972BA81.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#3C62A5
Tritanopia (blue-blind)
#994368
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #972ba8;
/* rgb */ color: rgb(151, 43, 168);
/* oklch */ color: oklch(50.8% 0.202 321.8);
Tailwind
colors: {
  custom: {
    50: '#b970c2',
    500: '#972ba8',
    950: '#000000',
  },
}
SCSS
$custom: #972ba8;
$custom-light: #b970c2;
$custom-dark: #000000;
JSON
{
  "hex": "#972ba8",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 291.84,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50757,
    "c": 0.20237,
    "h": 321.8
  },
  "luminance": 0.11134
}

Semantic roles & 50–950 ramp

primary
#972BA8
secondary
#78C26C
accent
#E2455B
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #972BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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