#971B82#971B82

#971B82 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.3% C 0.189 H 336.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#971B82
RGBrgb(151, 27, 130)
HSLhsl(310, 70%, 35%)
HSVhsv(310, 82%, 59%)
CMYKcmyk(0%, 82.1%, 13.9%, 40.8%)
CIE-LABlab(35.94, 58.85, -27.71)
CIE-LCHlch(35.94, 65.05, 334.79°)
OKLaboklab(47.3% 0.1732 -0.0756)
OKLCHoklch(47.3% 0.189 336.4)
XYZxyz(17.1840, 8.9765, 21.9424)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B82 #1B9730
analogous
#6E1B97 #971B82 #971B44
triadic
#971B82 #82971B #1B8297
tetradic
#971B82 #976E1B #1B9730 #1B4497
square
#971B82 #976E1B #1B9730 #1B4497
split-complementary
#971B82 #44971B #1B976E
monochromatic
#2F0829 #631255 #971B82 #CB24AF #DF4DC6

Accessibility & contrast

On white

7.51
#971B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#971B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B82
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B82#FFFFFF#000000##FFFFFF
##971B821.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4985
Deuteranopia (green-blind)
#4C5B7F
Tritanopia (blue-blind)
#9F254E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971b82;
/* rgb */ color: rgb(151, 27, 130);
/* oklch */ color: oklch(47.3% 0.189 336.4);
Tailwind
colors: {
  custom: {
    50: '#ba68a6',
    500: '#971b82',
    950: '#000000',
  },
}
SCSS
$custom: #971b82;
$custom-light: #ba68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#971b82",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 310.161,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47295,
    "c": 0.18899,
    "h": 336.4
  },
  "luminance": 0.08975
}

Semantic roles & 50–950 ramp

primary
#971B82
secondary
#4CC160
accent
#EC593B
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971B82

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

Preview Lab → · Contrast checker → · Palette generator →

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