#972BA9#972BA9

#972BA9 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.8% C 0.203 H 321.5°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#972BA9
RGBrgb(151, 43, 169)
HSLhsl(291, 59%, 42%)
HSVhsv(291, 75%, 66%)
CMYKcmyk(10.7%, 74.6%, 0%, 33.7%)
CIE-LABlab(39.87, 60.43, -45.21)
CIE-LCHlch(39.87, 75.47, 323.20°)
OKLaboklab(50.82% 0.159 -0.1265)
OKLCHoklch(50.82% 0.203 321.5)
XYZxyz(20.7870, 11.1728, 38.5901)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BA9 #3DA92B
analogous
#582BA9 #972BA9 #A92B7C
triadic
#972BA9 #A9972B #2BA997
tetradic
#972BA9 #A9582B #3DA92B #2B7CA9
square
#972BA9 #A9582B #3DA92B #2B7CA9
split-complementary
#972BA9 #7CA92B #2BA958
monochromatic
#401247 #6B1F78 #972BA9 #BB42CF #CC73DB

Accessibility & contrast

On white

6.49
#972BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #972BA9
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972BA9#FFFFFF#000000##FFFFFF
##972BA91.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#3B62A6
Tritanopia (blue-blind)
#984368
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #972ba9;
/* rgb */ color: rgb(151, 43, 169);
/* oklch */ color: oklch(50.8% 0.203 321.5);
Tailwind
colors: {
  custom: {
    50: '#b970c3',
    500: '#972ba9',
    950: '#000000',
  },
}
SCSS
$custom: #972ba9;
$custom-light: #b970c3;
$custom-dark: #000000;
JSON
{
  "hex": "#972ba9",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 291.429,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50822,
    "c": 0.2032,
    "h": 321.5
  },
  "luminance": 0.11172
}

Semantic roles & 50–950 ramp

primary
#972BA9
secondary
#79C36D
accent
#E3455C
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #972BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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