#972BB6#972BB6

#972BB6 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.214 H 317.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#972BB6
RGBrgb(151, 43, 182)
HSLhsl(287, 62%, 44%)
HSVhsv(287, 76%, 71%)
CMYKcmyk(17%, 76.4%, 0%, 28.6%)
CIE-LABlab(40.71, 62.87, -51.57)
CIE-LCHlch(40.71, 81.31, 320.64°)
OKLaboklab(51.69% 0.1576 -0.1451)
OKLCHoklch(51.69% 0.214 317.4)
XYZxyz(22.0686, 11.6854, 45.3399)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BB6 #4AB62B
analogous
#522BB6 #972BB6 #B62B90
triadic
#972BB6 #B6972B #2BB697
tetradic
#972BB6 #B6522B #4AB62B #2B90B6
square
#972BB6 #B6522B #4AB62B #2B90B6
split-complementary
#972BB6 #90B62B #2BB652
monochromatic
#451453 #6E1F84 #972BB6 #B54AD4 #CA7BE0

Accessibility & contrast

On white

6.29
#972BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#972BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972BB6
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972BB6#FFFFFF#000000##FFFFFF
##972BB61.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#2E63B3
Tritanopia (blue-blind)
#96496F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #972bb6;
/* rgb */ color: rgb(151, 43, 182);
/* oklch */ color: oklch(51.7% 0.214 317.4);
Tailwind
colors: {
  custom: {
    50: '#ba70cd',
    500: '#972bb6',
    950: '#000000',
  },
}
SCSS
$custom: #972bb6;
$custom-light: #ba70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#972bb6",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 286.619,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51687,
    "c": 0.21429,
    "h": 317.4
  },
  "luminance": 0.11684
}

Semantic roles & 50–950 ramp

primary
#972BB6
secondary
#87C875
accent
#E54367
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #972BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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