#971C9D#971C9D

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

Color values

HEX#971C9D
RGBrgb(151, 28, 157)
HSLhsl(297, 70%, 36%)
HSVhsv(297, 82%, 62%)
CMYKcmyk(3.8%, 82.2%, 0%, 38.4%)
CIE-LABlab(37.56, 62.82, -41.69)
CIE-LCHlch(37.56, 75.39, 326.43°)
OKLaboklab(48.95% 0.1723 -0.1161)
OKLCHoklch(48.95% 0.208 326)
XYZxyz(19.2632, 9.8455, 32.7775)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C9D #229D1C
analogous
#571C9D #971C9D #9D1C63
triadic
#971C9D #9D971C #1C9D97
tetradic
#971C9D #9D571C #229D1C #1C639D
square
#971C9D #9D571C #229D1C #1C639D
split-complementary
#971C9D #639D1C #1C9D57
monochromatic
#330935 #651369 #971C9D #C925D1 #DA53E0

Accessibility & contrast

On white

7.07
#971C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#971C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C9D
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C9D#FFFFFF#000000##FFFFFF
##971C9D1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#3D5D9A
Tritanopia (blue-blind)
#9B365E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #971c9d;
/* rgb */ color: rgb(151, 28, 157);
/* oklch */ color: oklch(48.9% 0.208 326.0);
Tailwind
colors: {
  custom: {
    50: '#ba6aba',
    500: '#971c9d',
    950: '#000000',
  },
}
SCSS
$custom: #971c9d;
$custom-light: #ba6aba;
$custom-dark: #000000;
JSON
{
  "hex": "#971c9d",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 297.209,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48946,
    "c": 0.20775,
    "h": 326
  },
  "luminance": 0.09844
}

Semantic roles & 50–950 ramp

primary
#971C9D
secondary
#57C351
accent
#ED3B44
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #971C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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