#971A91#971A91

#971A91 is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.1% C 0.200 H 330.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#971A91
RGBrgb(151, 26, 145)
HSLhsl(303, 71%, 35%)
HSVhsv(303, 83%, 59%)
CMYKcmyk(0%, 82.8%, 4%, 40.8%)
CIE-LABlab(36.68, 61.37, -35.80)
CIE-LCHlch(36.68, 71.04, 329.74°)
OKLaboklab(48.09% 0.1743 -0.099)
OKLCHoklch(48.09% 0.2 330.4)
XYZxyz(18.2427, 9.3639, 27.6292)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A91 #1A9720
analogous
#5F1A97 #971A91 #971A53
triadic
#971A91 #91971A #1A9197
tetradic
#971A91 #975F1A #1A9720 #1A5397
square
#971A91 #975F1A #1A9720 #1A5397
split-complementary
#971A91 #53971A #1A975F
monochromatic
#2F082D #63115F #971A91 #CB23C3 #E04BD9

Accessibility & contrast

On white

7.31
#971A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#971A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A91
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A91#FFFFFF#000000##FFFFFF
##971A911.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C94
Deuteranopia (green-blind)
#445C8E
Tritanopia (blue-blind)
#9D2E57
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #971a91;
/* rgb */ color: rgb(151, 26, 145);
/* oklch */ color: oklch(48.1% 0.200 330.4);
Tailwind
colors: {
  custom: {
    50: '#ba69b2',
    500: '#971a91',
    950: '#000000',
  },
}
SCSS
$custom: #971a91;
$custom-light: #ba69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#971a91",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 145
  },
  "hsl": {
    "h": 302.88,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.48086,
    "c": 0.20041,
    "h": 330.4
  },
  "luminance": 0.09362
}

Semantic roles & 50–950 ramp

primary
#971A91
secondary
#4BC251
accent
#ED433A
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971A91

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

Preview Lab → · Contrast checker → · Palette generator →

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