#972FB8#972FB8

#972FB8 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.212 H 316.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#972FB8
RGBrgb(151, 47, 184)
HSLhsl(286, 59%, 45%)
HSVhsv(286, 74%, 72%)
CMYKcmyk(17.9%, 74.5%, 0%, 27.8%)
CIE-LABlab(41.33, 61.85, -51.75)
CIE-LCHlch(41.33, 80.64, 320.08°)
OKLaboklab(52.17% 0.1538 -0.1457)
OKLCHoklch(52.17% 0.212 316.5)
XYZxyz(22.4294, 12.0740, 46.4871)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FB8 #50B82F
analogous
#522FB8 #972FB8 #B82F95
triadic
#972FB8 #B8972F #2FB897
tetradic
#972FB8 #B8522F #50B82F #2F95B8
square
#972FB8 #B8522F #50B82F #2F95B8
split-complementary
#972FB8 #95B82F #2FB852
monochromatic
#471657 #6F2387 #972FB8 #B452D3 #C982DF

Accessibility & contrast

On white

6.15
#972FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#972FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972FB8
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FB8#FFFFFF#000000##FFFFFF
##972FB81.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#2F64B5
Tritanopia (blue-blind)
#954C72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #972fb8;
/* rgb */ color: rgb(151, 47, 184);
/* oklch */ color: oklch(52.2% 0.212 316.5);
Tailwind
colors: {
  custom: {
    50: '#ba72ce',
    500: '#972fb8',
    950: '#000000',
  },
}
SCSS
$custom: #972fb8;
$custom-light: #ba72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#972fb8",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 285.547,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5217,
    "c": 0.21185,
    "h": 316.5
  },
  "luminance": 0.12073
}

Semantic roles & 50–950 ramp

primary
#972FB8
secondary
#8DC87B
accent
#E2456B
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #972FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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