#972FB6#972FB6

#972FB6 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.210 H 317.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#972FB6
RGBrgb(151, 47, 182)
HSLhsl(286, 59%, 45%)
HSVhsv(286, 74%, 71%)
CMYKcmyk(17%, 74.2%, 0%, 28.6%)
CIE-LABlab(41.20, 61.46, -50.78)
CIE-LCHlch(41.20, 79.73, 320.44°)
OKLaboklab(52.03% 0.154 -0.1429)
OKLCHoklch(52.03% 0.21 317.2)
XYZxyz(22.2213, 11.9907, 45.3908)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972FB6 #4EB62F
analogous
#532FB6 #972FB6 #B62F92
triadic
#972FB6 #B6972F #2FB697
tetradic
#972FB6 #B6532F #4EB62F #2F92B6
square
#972FB6 #B6532F #4EB62F #2F92B6
split-complementary
#972FB6 #92B62F #2FB653
monochromatic
#461655 #6F2285 #972FB6 #B450D2 #C981DE

Accessibility & contrast

On white

6.18
#972FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#972FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972FB6
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972FB6#FFFFFF#000000##FFFFFF
##972FB61.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#3264B3
Tritanopia (blue-blind)
#954B70
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #972fb6;
/* rgb */ color: rgb(151, 47, 182);
/* oklch */ color: oklch(52.0% 0.210 317.2);
Tailwind
colors: {
  custom: {
    50: '#ba72cd',
    500: '#972fb6',
    950: '#000000',
  },
}
SCSS
$custom: #972fb6;
$custom-light: #ba72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#972fb6",
  "rgb": {
    "r": 151,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 286.222,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52034,
    "c": 0.21008,
    "h": 317.2
  },
  "luminance": 0.1199
}

Semantic roles & 50–950 ramp

primary
#972FB6
secondary
#8BC779
accent
#E2466A
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #972FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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