#971C7E#971C7E

#971C7E is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.185 H 338.2°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#971C7E
RGBrgb(151, 28, 126)
HSLhsl(312, 69%, 35%)
HSVhsv(312, 81%, 59%)
CMYKcmyk(0%, 81.5%, 16.6%, 40.8%)
CIE-LABlab(35.83, 58.02, -25.39)
CIE-LCHlch(35.83, 63.33, 336.36°)
OKLaboklab(47.15% 0.1721 -0.069)
OKLCHoklch(47.15% 0.185 338.2)
XYZxyz(16.9441, 8.9179, 20.5636)
Luminance0.0892 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C7E #1C9735
analogous
#721C97 #971C7E #971C41
triadic
#971C7E #7E971C #1C7E97
tetradic
#971C7E #97721C #1C9735 #1C4197
square
#971C7E #97721C #1C9735 #1C4197
split-complementary
#971C7E #41971C #1C9772
monochromatic
#300928 #631253 #971C7E #CB26A9 #DE4FC1

Accessibility & contrast

On white

7.55
#971C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#971C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C7E
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C7E#FFFFFF#000000##FFFFFF
##971C7E1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234881
Deuteranopia (green-blind)
#4E5B7B
Tritanopia (blue-blind)
#A0244C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971c7e;
/* rgb */ color: rgb(151, 28, 126);
/* oklch */ color: oklch(47.1% 0.185 338.2);
Tailwind
colors: {
  custom: {
    50: '#ba68a3',
    500: '#971c7e',
    950: '#000000',
  },
}
SCSS
$custom: #971c7e;
$custom-light: #ba68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#971c7e",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 312.195,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47147,
    "c": 0.18541,
    "h": 338.2
  },
  "luminance": 0.08916
}

Semantic roles & 50–950 ramp

primary
#971C7E
secondary
#4EC165
accent
#EC603C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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