#971A9D#971A9D

#971A9D is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.209 H 326.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#971A9D
RGBrgb(151, 26, 157)
HSLhsl(297, 72%, 36%)
HSVhsv(297, 83%, 62%)
CMYKcmyk(3.8%, 83.4%, 0%, 38.4%)
CIE-LABlab(37.40, 63.30, -41.96)
CIE-LCHlch(37.40, 75.95, 326.47°)
OKLaboklab(48.83% 0.1736 -0.1169)
OKLCHoklch(48.83% 0.209 326)
XYZxyz(19.2173, 9.7538, 32.7622)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A9D #209D1A
analogous
#551A9D #971A9D #9D1A61
triadic
#971A9D #9D971A #1A9D97
tetradic
#971A9D #9D551A #209D1A #1A619D
square
#971A9D #9D551A #209D1A #1A619D
split-complementary
#971A9D #619D1A #1A9D55
monochromatic
#320934 #651168 #971A9D #C923D2 #DB4FE2

Accessibility & contrast

On white

7.12
#971A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#971A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A9D
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A9D#FFFFFF#000000##FFFFFF
##971A9D1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#3C5D9A
Tritanopia (blue-blind)
#9B355E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #971a9d;
/* rgb */ color: rgb(151, 26, 157);
/* oklch */ color: oklch(48.8% 0.209 326.0);
Tailwind
colors: {
  custom: {
    50: '#ba69ba',
    500: '#971a9d',
    950: '#000000',
  },
}
SCSS
$custom: #971a9d;
$custom-light: #ba69ba;
$custom-dark: #000000;
JSON
{
  "hex": "#971a9d",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 157
  },
  "hsl": {
    "h": 297.252,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48828,
    "c": 0.2093,
    "h": 326
  },
  "luminance": 0.09752
}

Semantic roles & 50–950 ramp

primary
#971A9D
secondary
#54C44E
accent
#EE3942
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #971A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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