#972BB4#972BB4

#972BB4 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.213 H 318.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#972BB4
RGBrgb(151, 43, 180)
HSLhsl(287, 61%, 44%)
HSVhsv(287, 76%, 71%)
CMYKcmyk(16.1%, 76.1%, 0%, 29.4%)
CIE-LABlab(40.58, 62.48, -50.60)
CIE-LCHlch(40.58, 80.41, 321.00°)
OKLaboklab(51.55% 0.1579 -0.1423)
OKLCHoklch(51.55% 0.213 318)
XYZxyz(21.8634, 11.6034, 44.2592)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BB4 #48B42B
analogous
#522BB4 #972BB4 #B42B8C
triadic
#972BB4 #B4972B #2BB497
tetradic
#972BB4 #B4522B #48B42B #2B8CB4
square
#972BB4 #B4522B #48B42B #2B8CB4
split-complementary
#972BB4 #8CB42B #2BB452
monochromatic
#441351 #6E1F83 #972BB4 #B649D3 #CA7ADF

Accessibility & contrast

On white

6.32
#972BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#972BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972BB4
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972BB4#FFFFFF#000000##FFFFFF
##972BB41.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#3163B1
Tritanopia (blue-blind)
#96486E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #972bb4;
/* rgb */ color: rgb(151, 43, 180);
/* oklch */ color: oklch(51.6% 0.213 318.0);
Tailwind
colors: {
  custom: {
    50: '#ba70cb',
    500: '#972bb4',
    950: '#000000',
  },
}
SCSS
$custom: #972bb4;
$custom-light: #ba70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#972bb4",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 287.299,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51551,
    "c": 0.21257,
    "h": 318
  },
  "luminance": 0.11602
}

Semantic roles & 50–950 ramp

primary
#972BB4
secondary
#85C773
accent
#E54365
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #972BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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