#971A9F#971A9F

#971A9F is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 49.0% C 0.211 H 325.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#971A9F
RGBrgb(151, 26, 159)
HSLhsl(296, 72%, 36%)
HSVhsv(296, 84%, 62%)
CMYKcmyk(5%, 83.6%, 0%, 37.6%)
CIE-LABlab(37.52, 63.64, -42.96)
CIE-LCHlch(37.52, 76.78, 325.98°)
OKLaboklab(48.96% 0.1734 -0.1198)
OKLCHoklch(48.96% 0.211 325.4)
XYZxyz(19.3895, 9.8226, 33.6689)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A9F #229F1A
analogous
#551A9F #971A9F #9F1A65
triadic
#971A9F #9F971A #1A9F97
tetradic
#971A9F #9F551A #229F1A #1A659F
square
#971A9F #9F551A #229F1A #1A659F
split-complementary
#971A9F #659F1A #1A9F55
monochromatic
#330936 #65116A #971A9F #C923D4 #DA51E3

Accessibility & contrast

On white

7.08
#971A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#971A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A9F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A9F#FFFFFF#000000##FFFFFF
##971A9F1.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#3B5D9C
Tritanopia (blue-blind)
#9B365F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #971a9f;
/* rgb */ color: rgb(151, 26, 159);
/* oklch */ color: oklch(49.0% 0.211 325.4);
Tailwind
colors: {
  custom: {
    50: '#ba69bc',
    500: '#971a9f',
    950: '#000000',
  },
}
SCSS
$custom: #971a9f;
$custom-light: #ba69bc;
$custom-dark: #000000;
JSON
{
  "hex": "#971a9f",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 296.391,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48957,
    "c": 0.21081,
    "h": 325.4
  },
  "luminance": 0.09821
}

Semantic roles & 50–950 ramp

primary
#971A9F
secondary
#57C550
accent
#EF3944
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #971A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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