#972BA3#972BA3

#972BA3 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.198 H 323.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#972BA3
RGBrgb(151, 43, 163)
HSLhsl(294, 58%, 40%)
HSVhsv(294, 74%, 64%)
CMYKcmyk(7.4%, 73.6%, 0%, 36.1%)
CIE-LABlab(39.50, 59.34, -42.21)
CIE-LCHlch(39.50, 72.82, 324.57°)
OKLaboklab(50.44% 0.1594 -0.1177)
OKLCHoklch(50.44% 0.198 323.5)
XYZxyz(20.2366, 10.9526, 35.6914)
Luminance0.1095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BA3 #37A32B
analogous
#5B2BA3 #972BA3 #A32B73
triadic
#972BA3 #A3972B #2BA397
tetradic
#972BA3 #A35B2B #37A32B #2B73A3
square
#972BA3 #A35B2B #37A32B #2B73A3
split-complementary
#972BA3 #73A32B #2BA35B
monochromatic
#3D1142 #6A1E73 #972BA3 #BE3FCC #CF6FD9

Accessibility & contrast

On white

6.58
#972BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#972BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972BA3
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972BA3#FFFFFF#000000##FFFFFF
##972BA31.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#4061A0
Tritanopia (blue-blind)
#9A4165
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #972ba3;
/* rgb */ color: rgb(151, 43, 163);
/* oklch */ color: oklch(50.4% 0.198 323.5);
Tailwind
colors: {
  custom: {
    50: '#b970bf',
    500: '#972ba3',
    950: '#000000',
  },
}
SCSS
$custom: #972ba3;
$custom-light: #b970bf;
$custom-dark: #000000;
JSON
{
  "hex": "#972ba3",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 294,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5044,
    "c": 0.19818,
    "h": 323.5
  },
  "luminance": 0.10951
}

Semantic roles & 50–950 ramp

primary
#972BA3
secondary
#72C06A
accent
#E14656
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #972BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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