#972CAC#972CAC

#972CAC is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.1% C 0.205 H 320.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#972CAC
RGBrgb(151, 44, 172)
HSLhsl(290, 59%, 42%)
HSVhsv(290, 74%, 67%)
CMYKcmyk(12.2%, 74.4%, 0%, 32.5%)
CIE-LABlab(40.18, 60.63, -46.50)
CIE-LCHlch(40.18, 76.41, 322.52°)
OKLaboklab(51.1% 0.1578 -0.1303)
OKLCHoklch(51.1% 0.205 320.5)
XYZxyz(21.1087, 11.3603, 40.1026)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972CAC #41AC2C
analogous
#572CAC #972CAC #AC2C81
triadic
#972CAC #AC972C #2CAC97
tetradic
#972CAC #AC572C #41AC2C #2C81AC
square
#972CAC #AC572C #41AC2C #2C81AC
split-complementary
#972CAC #81AC2C #2CAC57
monochromatic
#41134B #6C207B #972CAC #B946D0 #CB76DC

Accessibility & contrast

On white

6.42
#972CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#972CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #972CAC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972CAC#FFFFFF#000000##FFFFFF
##972CAC1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #972cac;
/* rgb */ color: rgb(151, 44, 172);
/* oklch */ color: oklch(51.1% 0.205 320.5);
Tailwind
colors: {
  custom: {
    50: '#b970c5',
    500: '#972cac',
    950: '#000000',
  },
}
SCSS
$custom: #972cac;
$custom-light: #b970c5;
$custom-dark: #000000;
JSON
{
  "hex": "#972cac",
  "rgb": {
    "r": 151,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 290.156,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51103,
    "c": 0.20467,
    "h": 320.5
  },
  "luminance": 0.11359
}

Semantic roles & 50–950 ramp

primary
#972CAC
secondary
#7EC470
accent
#E2455F
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #972CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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