#972BA5#972BA5

#972BA5 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.6% C 0.200 H 322.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#972BA5
RGBrgb(151, 43, 165)
HSLhsl(293, 59%, 41%)
HSVhsv(293, 74%, 65%)
CMYKcmyk(8.5%, 73.9%, 0%, 35.3%)
CIE-LABlab(39.62, 59.70, -43.21)
CIE-LCHlch(39.62, 73.70, 324.10°)
OKLaboklab(50.57% 0.1593 -0.1207)
OKLCHoklch(50.57% 0.2 322.9)
XYZxyz(20.4172, 11.0249, 36.6426)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BA5 #39A52B
analogous
#5A2BA5 #972BA5 #A52B76
triadic
#972BA5 #A5972B #2BA597
tetradic
#972BA5 #A55A2B #39A52B #2B76A5
square
#972BA5 #A55A2B #39A52B #2B76A5
split-complementary
#972BA5 #76A52B #2BA55A
monochromatic
#3E1244 #6B1E74 #972BA5 #BD40CD #CE71DA

Accessibility & contrast

On white

6.55
#972BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#972BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972BA5
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972BA5#FFFFFF#000000##FFFFFF
##972BA51.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#3E61A2
Tritanopia (blue-blind)
#994266
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #972ba5;
/* rgb */ color: rgb(151, 43, 165);
/* oklch */ color: oklch(50.6% 0.200 322.9);
Tailwind
colors: {
  custom: {
    50: '#b970c0',
    500: '#972ba5',
    950: '#000000',
  },
}
SCSS
$custom: #972ba5;
$custom-light: #b970c0;
$custom-dark: #000000;
JSON
{
  "hex": "#972ba5",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 293.115,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50566,
    "c": 0.19984,
    "h": 322.9
  },
  "luminance": 0.11024
}

Semantic roles & 50–950 ramp

primary
#972BA5
secondary
#75C16B
accent
#E24658
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #972BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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