#972BB3#972BB3

#972BB3 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.212 H 318.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#972BB3
RGBrgb(151, 43, 179)
HSLhsl(288, 61%, 44%)
HSVhsv(288, 76%, 70%)
CMYKcmyk(15.6%, 76%, 0%, 29.8%)
CIE-LABlab(40.51, 62.29, -50.12)
CIE-LCHlch(40.51, 79.95, 321.18°)
OKLaboklab(51.48% 0.158 -0.1409)
OKLCHoklch(51.48% 0.212 318.3)
XYZxyz(21.7619, 11.5628, 43.7246)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BB3 #47B32B
analogous
#532BB3 #972BB3 #B32B8B
triadic
#972BB3 #B3972B #2BB397
tetradic
#972BB3 #B3532B #47B32B #2B8BB3
square
#972BB3 #B3532B #47B32B #2B8BB3
split-complementary
#972BB3 #8BB32B #2BB353
monochromatic
#441350 #6D1F82 #972BB3 #B648D3 #CA79DF

Accessibility & contrast

On white

6.34
#972BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#972BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972BB3
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972BB3#FFFFFF#000000##FFFFFF
##972BB31.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#3263B0
Tritanopia (blue-blind)
#96486E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #972bb3;
/* rgb */ color: rgb(151, 43, 179);
/* oklch */ color: oklch(51.5% 0.212 318.3);
Tailwind
colors: {
  custom: {
    50: '#ba70ca',
    500: '#972bb3',
    950: '#000000',
  },
}
SCSS
$custom: #972bb3;
$custom-light: #ba70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#972bb3",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 287.647,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51483,
    "c": 0.21172,
    "h": 318.3
  },
  "luminance": 0.11562
}

Semantic roles & 50–950 ramp

primary
#972BB3
secondary
#84C773
accent
#E44365
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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