#971A84#971A84

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

Color values

HEX#971A84
RGBrgb(151, 26, 132)
HSLhsl(309, 71%, 35%)
HSVhsv(309, 83%, 59%)
CMYKcmyk(0%, 82.8%, 12.6%, 40.8%)
CIE-LABlab(35.96, 59.39, -28.92)
CIE-LCHlch(35.96, 66.06, 334.04°)
OKLaboklab(47.34% 0.1741 -0.0791)
OKLCHoklch(47.34% 0.191 335.6)
XYZxyz(17.2970, 8.9857, 22.6488)
Luminance0.0898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A84 #1A972D
analogous
#6C1A97 #971A84 #971A46
triadic
#971A84 #84971A #1A8497
tetradic
#971A84 #976C1A #1A972D #1A4697
square
#971A84 #976C1A #1A972D #1A4697
split-complementary
#971A84 #46971A #1A976C
monochromatic
#2F0829 #631156 #971A84 #CB23B2 #E04BC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##971A84#FFFFFF#000000##FFFFFF
##971A841.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971a84;
/* rgb */ color: rgb(151, 26, 132);
/* oklch */ color: oklch(47.3% 0.191 335.6);
Tailwind
colors: {
  custom: {
    50: '#ba68a8',
    500: '#971a84',
    950: '#000000',
  },
}
SCSS
$custom: #971a84;
$custom-light: #ba68a8;
$custom-dark: #000000;
JSON
{
  "hex": "#971a84",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 309.12,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47341,
    "c": 0.1912,
    "h": 335.6
  },
  "luminance": 0.08984
}

Semantic roles & 50–950 ramp

primary
#971A84
secondary
#4BC25D
accent
#ED563A
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971A84

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

Preview Lab → · Contrast checker → · Palette generator →

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