#972BB7#972BB7

#972BB7 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.215 H 317.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#972BB7
RGBrgb(151, 43, 183)
HSLhsl(286, 62%, 44%)
HSVhsv(286, 77%, 72%)
CMYKcmyk(17.5%, 76.5%, 0%, 28.2%)
CIE-LABlab(40.78, 63.06, -52.05)
CIE-LCHlch(40.78, 81.77, 320.46°)
OKLaboklab(51.76% 0.1575 -0.1466)
OKLCHoklch(51.76% 0.215 317.1)
XYZxyz(22.1723, 11.7269, 45.8862)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BB7 #4BB72B
analogous
#512BB7 #972BB7 #B72B91
triadic
#972BB7 #B7972B #2BB797
tetradic
#972BB7 #B7512B #4BB72B #2B91B7
square
#972BB7 #B7512B #4BB72B #2B91B7
split-complementary
#972BB7 #91B72B #2BB751
monochromatic
#451454 #6E1F85 #972BB7 #B54BD5 #C97CE0

Accessibility & contrast

On white

6.28
#972BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#972BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972BB7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972BB7#FFFFFF#000000##FFFFFF
##972BB71.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#2D63B4
Tritanopia (blue-blind)
#954A70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #972bb7;
/* rgb */ color: rgb(151, 43, 183);
/* oklch */ color: oklch(51.8% 0.215 317.1);
Tailwind
colors: {
  custom: {
    50: '#ba70cd',
    500: '#972bb7',
    950: '#000000',
  },
}
SCSS
$custom: #972bb7;
$custom-light: #ba70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#972bb7",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 286.286,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51756,
    "c": 0.21515,
    "h": 317.1
  },
  "luminance": 0.11726
}

Semantic roles & 50–950 ramp

primary
#972BB7
secondary
#88C975
accent
#E54368
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #972BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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