#972080#972080

#972080 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.183 H 337.4°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#972080
RGBrgb(151, 32, 128)
HSLhsl(312, 65%, 36%)
HSVhsv(312, 79%, 59%)
CMYKcmyk(0%, 78.8%, 15.2%, 40.8%)
CIE-LABlab(36.31, 57.19, -25.87)
CIE-LCHlch(36.31, 62.77, 335.66°)
OKLaboklab(47.53% 0.1689 -0.0704)
OKLCHoklch(47.53% 0.183 337.4)
XYZxyz(17.1757, 9.1725, 21.2838)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972080 #209737
analogous
#722097 #972080 #972044
triadic
#972080 #809720 #208097
tetradic
#972080 #977220 #209737 #204497
square
#972080 #977220 #209737 #204497
split-complementary
#972080 #449720 #209772
monochromatic
#320B2A #641555 #972080 #C92BAB #DB56C2

Accessibility & contrast

On white

7.41
#972080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#972080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972080
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972080#FFFFFF#000000##FFFFFF
##9720801.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254A83
Deuteranopia (green-blind)
#4E5C7D
Tritanopia (blue-blind)
#9F284E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #972080;
/* rgb */ color: rgb(151, 32, 128);
/* oklch */ color: oklch(47.5% 0.183 337.4);
Tailwind
colors: {
  custom: {
    50: '#b96aa5',
    500: '#972080',
    950: '#000000',
  },
}
SCSS
$custom: #972080;
$custom-light: #b96aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#972080",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 311.597,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47531,
    "c": 0.18301,
    "h": 337.4
  },
  "luminance": 0.09171
}

Semantic roles & 50–950 ramp

primary
#972080
secondary
#54BF69
accent
#E86040
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #972080

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

Preview Lab → · Contrast checker → · Palette generator →

#972080 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva