#972BAC#972BAC

#972BAC is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.206 H 320.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#972BAC
RGBrgb(151, 43, 172)
HSLhsl(290, 60%, 42%)
HSVhsv(290, 75%, 67%)
CMYKcmyk(12.2%, 75%, 0%, 32.5%)
CIE-LABlab(40.06, 60.98, -46.69)
CIE-LCHlch(40.06, 76.81, 322.56°)
OKLaboklab(51.02% 0.1588 -0.1309)
OKLCHoklch(51.02% 0.206 320.5)
XYZxyz(21.0719, 11.2867, 40.0904)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972BAC #40AC2B
analogous
#572BAC #972BAC #AC2B80
triadic
#972BAC #AC972B #2BAC97
tetradic
#972BAC #AC572B #40AC2B #2B80AC
square
#972BAC #AC572B #40AC2B #2B80AC
split-complementary
#972BAC #80AC2B #2BAC57
monochromatic
#41134A #6C1F7B #972BAC #B944D0 #CC75DC

Accessibility & contrast

On white

6.45
#972BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#972BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972BAC
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972BAC#FFFFFF#000000##FFFFFF
##972BAC1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#3962A9
Tritanopia (blue-blind)
#98456A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #972bac;
/* rgb */ color: rgb(151, 43, 172);
/* oklch */ color: oklch(51.0% 0.206 320.5);
Tailwind
colors: {
  custom: {
    50: '#b970c5',
    500: '#972bac',
    950: '#000000',
  },
}
SCSS
$custom: #972bac;
$custom-light: #b970c5;
$custom-dark: #000000;
JSON
{
  "hex": "#972bac",
  "rgb": {
    "r": 151,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 290.233,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51017,
    "c": 0.20575,
    "h": 320.5
  },
  "luminance": 0.11286
}

Semantic roles & 50–950 ramp

primary
#972BAC
secondary
#7DC46F
accent
#E3455E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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