#972BB2#972BB2

#972BB2 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.211 H 318.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#972BB2
RGBrgb(151, 43, 178)
HSLhsl(288, 61%, 43%)
HSVhsv(288, 76%, 70%)
CMYKcmyk(15.2%, 75.8%, 0%, 30.2%)
CIE-LABlab(40.45, 62.11, -49.63)
CIE-LCHlch(40.45, 79.50, 321.37°)
OKLaboklab(51.42% 0.1582 -0.1395)
OKLCHoklch(51.42% 0.211 318.6)
XYZxyz(21.6612, 11.5224, 43.1939)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BB2 #46B22B
analogous
#532BB2 #972BB2 #B22B89
triadic
#972BB2 #B2972B #2BB297
tetradic
#972BB2 #B2532B #46B22B #2B89B2
square
#972BB2 #B2532B #46B22B #2B89B2
split-complementary
#972BB2 #89B22B #2BB253
monochromatic
#43134F #6D1F81 #972BB2 #B748D3 #CA79DF

Accessibility & contrast

On white

6.36
#972BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#972BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972BB2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972BB2#FFFFFF#000000##FFFFFF
##972BB21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#3363AF
Tritanopia (blue-blind)
#96486D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #972bb2;
/* rgb */ color: rgb(151, 43, 178);
/* oklch */ color: oklch(51.4% 0.211 318.6);
Tailwind
colors: {
  custom: {
    50: '#ba70ca',
    500: '#972bb2',
    950: '#000000',
  },
}
SCSS
$custom: #972bb2;
$custom-light: #ba70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#972bb2",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 288,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51415,
    "c": 0.21086,
    "h": 318.6
  },
  "luminance": 0.11521
}

Semantic roles & 50–950 ramp

primary
#972BB2
secondary
#83C772
accent
#E44464
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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