#971A7C#971A7C

#971A7C is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.9% C 0.186 H 339.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#971A7C
RGBrgb(151, 26, 124)
HSLhsl(313, 71%, 35%)
HSVhsv(313, 83%, 59%)
CMYKcmyk(0%, 82.8%, 17.9%, 40.8%)
CIE-LABlab(35.55, 58.25, -24.58)
CIE-LCHlch(35.55, 63.22, 337.12°)
OKLaboklab(46.92% 0.1735 -0.0667)
OKLCHoklch(46.92% 0.186 339)
XYZxyz(16.7704, 8.7750, 19.8754)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A7C #1A9735
analogous
#741A97 #971A7C #971A3E
triadic
#971A7C #7C971A #1A7C97
tetradic
#971A7C #97741A #1A9735 #1A3E97
square
#971A7C #97741A #1A9735 #1A3E97
split-complementary
#971A7C #3E971A #1A9774
monochromatic
#2F0826 #631151 #971A7C #CB23A7 #E04BC0

Accessibility & contrast

On white

7.62
#971A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#971A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A7C
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A7C#FFFFFF#000000##FFFFFF
##971A7C1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477E
Deuteranopia (green-blind)
#4E5A79
Tritanopia (blue-blind)
#A0214B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971a7c;
/* rgb */ color: rgb(151, 26, 124);
/* oklch */ color: oklch(46.9% 0.186 339.0);
Tailwind
colors: {
  custom: {
    50: '#ba68a2',
    500: '#971a7c',
    950: '#000000',
  },
}
SCSS
$custom: #971a7c;
$custom-light: #ba68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#971a7c",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 312.96,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46915,
    "c": 0.18583,
    "h": 339
  },
  "luminance": 0.08773
}

Semantic roles & 50–950 ramp

primary
#971A7C
secondary
#4BC265
accent
#ED613A
background
#FBF6FA
surface
#F7EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971A7C

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

Preview Lab → · Contrast checker → · Palette generator →

#971A7C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva