#971A83#971A83

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

Color values

HEX#971A83
RGBrgb(151, 26, 131)
HSLhsl(310, 71%, 35%)
HSVhsv(310, 83%, 59%)
CMYKcmyk(0%, 82.8%, 13.2%, 40.8%)
CIE-LABlab(35.90, 59.25, -28.38)
CIE-LCHlch(35.90, 65.70, 334.40°)
OKLaboklab(47.29% 0.174 -0.0775)
OKLCHoklch(47.29% 0.191 336)
XYZxyz(17.2289, 8.9584, 22.2901)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A83 #1A972E
analogous
#6D1A97 #971A83 #971A45
triadic
#971A83 #83971A #1A8397
tetradic
#971A83 #976D1A #1A972E #1A4597
square
#971A83 #976D1A #1A972E #1A4597
split-complementary
#971A83 #45971A #1A976D
monochromatic
#2F0828 #631156 #971A83 #CB23B0 #E04BC8

Accessibility & contrast

On white

7.52
#971A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971A83
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A83#FFFFFF#000000##FFFFFF
##971A831.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4986
Deuteranopia (green-blind)
#4B5B80
Tritanopia (blue-blind)
#9F254F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #971a83;
/* rgb */ color: rgb(151, 26, 131);
/* oklch */ color: oklch(47.3% 0.191 336.0);
Tailwind
colors: {
  custom: {
    50: '#ba68a7',
    500: '#971a83',
    950: '#000000',
  },
}
SCSS
$custom: #971a83;
$custom-light: #ba68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#971a83",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 131
  },
  "hsl": {
    "h": 309.6,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47286,
    "c": 0.19052,
    "h": 336
  },
  "luminance": 0.08957
}

Semantic roles & 50–950 ramp

primary
#971A83
secondary
#4BC25E
accent
#ED573A
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971A83

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

Preview Lab → · Contrast checker → · Palette generator →

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