#971B83#971B83

#971B83 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.190 H 336.0°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#971B83
RGBrgb(151, 27, 131)
HSLhsl(310, 70%, 35%)
HSVhsv(310, 82%, 59%)
CMYKcmyk(0%, 82.1%, 13.2%, 40.8%)
CIE-LABlab(35.99, 59.00, -28.25)
CIE-LCHlch(35.99, 65.41, 334.42°)
OKLaboklab(47.35% 0.1733 -0.0772)
OKLCHoklch(47.35% 0.19 336)
XYZxyz(17.2515, 9.0035, 22.2976)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B83 #1B972F
analogous
#6D1B97 #971B83 #971B45
triadic
#971B83 #83971B #1B8397
tetradic
#971B83 #976D1B #1B972F #1B4597
square
#971B83 #976D1B #1B972F #1B4597
split-complementary
#971B83 #45971B #1B976D
monochromatic
#2F0829 #631256 #971B83 #CB24B0 #DF4DC8

Accessibility & contrast

On white

7.50
#971B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#971B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B83
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B83#FFFFFF#000000##FFFFFF
##971B831.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4986
Deuteranopia (green-blind)
#4C5B80
Tritanopia (blue-blind)
#9F264F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971b83;
/* rgb */ color: rgb(151, 27, 131);
/* oklch */ color: oklch(47.3% 0.190 336.0);
Tailwind
colors: {
  custom: {
    50: '#ba68a7',
    500: '#971b83',
    950: '#000000',
  },
}
SCSS
$custom: #971b83;
$custom-light: #ba68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#971b83",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 309.677,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47349,
    "c": 0.18967,
    "h": 336
  },
  "luminance": 0.09002
}

Semantic roles & 50–950 ramp

primary
#971B83
secondary
#4CC15F
accent
#EC583B
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971B83

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

Preview Lab → · Contrast checker → · Palette generator →

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