#972BB5#972BB5

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

Color values

HEX#972BB5
RGBrgb(151, 43, 181)
HSLhsl(287, 62%, 44%)
HSVhsv(287, 76%, 71%)
CMYKcmyk(16.6%, 76.2%, 0%, 29%)
CIE-LABlab(40.65, 62.68, -51.09)
CIE-LCHlch(40.65, 80.86, 320.82°)
OKLaboklab(51.62% 0.1578 -0.1437)
OKLCHoklch(51.62% 0.213 317.7)
XYZxyz(21.9657, 11.6442, 44.7976)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BB5 #49B52B
analogous
#522BB5 #972BB5 #B52B8E
triadic
#972BB5 #B5972B #2BB597
tetradic
#972BB5 #B5522B #49B52B #2B8EB5
square
#972BB5 #B5522B #49B52B #2B8EB5
split-complementary
#972BB5 #8EB52B #2BB552
monochromatic
#441452 #6E1F84 #972BB5 #B649D4 #CA7BE0

Accessibility & contrast

On white

6.31
#972BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#972BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972BB5
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972BB5#FFFFFF#000000##FFFFFF
##972BB51.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#3063B2
Tritanopia (blue-blind)
#96496F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #972bb5;
/* rgb */ color: rgb(151, 43, 181);
/* oklch */ color: oklch(51.6% 0.213 317.7);
Tailwind
colors: {
  custom: {
    50: '#ba70cc',
    500: '#972bb5',
    950: '#000000',
  },
}
SCSS
$custom: #972bb5;
$custom-light: #ba70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#972bb5",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 286.957,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51619,
    "c": 0.21343,
    "h": 317.7
  },
  "luminance": 0.11643
}

Semantic roles & 50–950 ramp

primary
#972BB5
secondary
#86C874
accent
#E54366
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #972BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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