#972CAB#972CAB

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

Color values

HEX#972CAB
RGBrgb(151, 44, 171)
HSLhsl(291, 59%, 42%)
HSVhsv(291, 74%, 67%)
CMYKcmyk(11.7%, 74.3%, 0%, 32.9%)
CIE-LABlab(40.12, 60.45, -46.00)
CIE-LCHlch(40.12, 75.96, 322.73°)
OKLaboklab(51.04% 0.1579 -0.1288)
OKLCHoklch(51.04% 0.204 320.8)
XYZxyz(21.0130, 11.3221, 39.5987)
Luminance0.1132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972CAB #40AB2C
analogous
#572CAB #972CAB #AB2C80
triadic
#972CAB #AB972C #2CAB97
tetradic
#972CAB #AB572C #40AB2C #2C80AB
square
#972CAB #AB572C #40AB2C #2C80AB
split-complementary
#972CAB #80AB2C #2CAB57
monochromatic
#41134A #6C1F7A #972CAB #B945CF #CC76DC

Accessibility & contrast

On white

6.43
#972CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #972CAB
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972CAB#FFFFFF#000000##FFFFFF
##972CAB1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#3A62A8
Tritanopia (blue-blind)
#984569
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #972cab;
/* rgb */ color: rgb(151, 44, 171);
/* oklch */ color: oklch(51.0% 0.204 320.8);
Tailwind
colors: {
  custom: {
    50: '#b970c5',
    500: '#972cab',
    950: '#000000',
  },
}
SCSS
$custom: #972cab;
$custom-light: #b970c5;
$custom-dark: #000000;
JSON
{
  "hex": "#972cab",
  "rgb": {
    "r": 151,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 290.551,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51038,
    "c": 0.20382,
    "h": 320.8
  },
  "luminance": 0.11321
}

Semantic roles & 50–950 ramp

primary
#972CAB
secondary
#7DC36F
accent
#E2465E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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