#972FB5#972FB5

#972FB5 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.209 H 317.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#972FB5
RGBrgb(151, 47, 181)
HSLhsl(287, 59%, 45%)
HSVhsv(287, 74%, 71%)
CMYKcmyk(16.6%, 74%, 0%, 29%)
CIE-LABlab(41.14, 61.27, -50.30)
CIE-LCHlch(41.14, 79.27, 320.62°)
OKLaboklab(51.97% 0.1541 -0.1414)
OKLCHoklch(51.97% 0.209 317.5)
XYZxyz(22.1183, 11.9495, 44.8485)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FB5 #4DB52F
analogous
#542FB5 #972FB5 #B52F90
triadic
#972FB5 #B5972F #2FB597
tetradic
#972FB5 #B5542F #4DB52F #2F90B5
square
#972FB5 #B5542F #4DB52F #2F90B5
split-complementary
#972FB5 #90B52F #2FB554
monochromatic
#461654 #6E2284 #972FB5 #B450D1 #C980DE

Accessibility & contrast

On white

6.20
#972FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#972FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972FB5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FB5#FFFFFF#000000##FFFFFF
##972FB51.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#3364B2
Tritanopia (blue-blind)
#964B70
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #972fb5;
/* rgb */ color: rgb(151, 47, 181);
/* oklch */ color: oklch(52.0% 0.209 317.5);
Tailwind
colors: {
  custom: {
    50: '#ba72cc',
    500: '#972fb5',
    950: '#000000',
  },
}
SCSS
$custom: #972fb5;
$custom-light: #ba72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#972fb5",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 286.567,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51967,
    "c": 0.2092,
    "h": 317.5
  },
  "luminance": 0.11949
}

Semantic roles & 50–950 ramp

primary
#972FB5
secondary
#8AC779
accent
#E24669
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #972FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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