#971F83#971F83

#971F83 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.186 H 336.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#971F83
RGBrgb(151, 31, 131)
HSLhsl(310, 66%, 36%)
HSVhsv(310, 79%, 59%)
CMYKcmyk(0%, 79.5%, 13.2%, 40.8%)
CIE-LABlab(36.37, 57.92, -27.66)
CIE-LCHlch(36.37, 64.18, 334.47°)
OKLaboklab(47.62% 0.1701 -0.0755)
OKLCHoklch(47.62% 0.186 336.1)
XYZxyz(17.3495, 9.1996, 22.3303)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F83 #1F9733
analogous
#6F1F97 #971F83 #971F47
triadic
#971F83 #83971F #1F8397
tetradic
#971F83 #976F1F #1F9733 #1F4797
square
#971F83 #976F1F #1F9733 #1F4797
split-complementary
#971F83 #47971F #1F976F
monochromatic
#310A2B #641557 #971F83 #CA29AF #DC54C5

Accessibility & contrast

On white

7.40
#971F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#971F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F83
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F83#FFFFFF#000000##FFFFFF
##971F831.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214A86
Deuteranopia (green-blind)
#4D5C80
Tritanopia (blue-blind)
#9F2950
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #971f83;
/* rgb */ color: rgb(151, 31, 131);
/* oklch */ color: oklch(47.6% 0.186 336.1);
Tailwind
colors: {
  custom: {
    50: '#b96aa7',
    500: '#971f83',
    950: '#000000',
  },
}
SCSS
$custom: #971f83;
$custom-light: #b96aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#971f83",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 310,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47617,
    "c": 0.18606,
    "h": 336.1
  },
  "luminance": 0.09198
}

Semantic roles & 50–950 ramp

primary
#971F83
secondary
#52BF65
accent
#E95B3F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971F83

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

Preview Lab → · Contrast checker → · Palette generator →

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