#972BB9#972BB9

#972BB9 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.217 H 316.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#972BB9
RGBrgb(151, 43, 185)
HSLhsl(286, 62%, 45%)
HSVhsv(286, 77%, 73%)
CMYKcmyk(18.4%, 76.8%, 0%, 27.5%)
CIE-LABlab(40.91, 63.44, -53.01)
CIE-LCHlch(40.91, 82.68, 320.12°)
OKLaboklab(51.89% 0.1572 -0.1494)
OKLCHoklch(51.89% 0.217 316.5)
XYZxyz(22.3820, 11.8108, 46.9903)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BB9 #4DB92B
analogous
#502BB9 #972BB9 #B92B94
triadic
#972BB9 #B9972B #2BB997
tetradic
#972BB9 #B9502B #4DB92B #2B94B9
square
#972BB9 #B9502B #4DB92B #2B94B9
split-complementary
#972BB9 #94B92B #2BB950
monochromatic
#461456 #6E1F87 #972BB9 #B44CD5 #C97EE1

Accessibility & contrast

On white

6.25
#972BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#972BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972BB9
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972BB9#FFFFFF#000000##FFFFFF
##972BB91.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#2B63B6
Tritanopia (blue-blind)
#954B71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #972bb9;
/* rgb */ color: rgb(151, 43, 185);
/* oklch */ color: oklch(51.9% 0.217 316.5);
Tailwind
colors: {
  custom: {
    50: '#ba71cf',
    500: '#972bb9',
    950: '#000000',
  },
}
SCSS
$custom: #972bb9;
$custom-light: #ba71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#972bb9",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 285.634,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51894,
    "c": 0.21687,
    "h": 316.5
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

primary
#972BB9
secondary
#8AC976
accent
#E54269
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #972BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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