#971A97#971A97

#971A97 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.5% C 0.205 H 328.2°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#971A97
RGBrgb(151, 26, 151)
HSLhsl(300, 71%, 35%)
HSVhsv(300, 83%, 59%)
CMYKcmyk(0%, 82.8%, 0%, 40.8%)
CIE-LABlab(37.03, 62.32, -38.90)
CIE-LCHlch(37.03, 73.47, 328.03°)
OKLaboklab(48.45% 0.174 -0.108)
OKLCHoklch(48.45% 0.205 328.2)
XYZxyz(18.7176, 9.5539, 30.1304)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A97 #1A971A
analogous
#591A97 #971A97 #971A59
triadic
#971A97 #97971A #1A9797
tetradic
#971A97 #97591A #1A971A #1A5997
square
#971A97 #97591A #1A971A #1A5997
split-complementary
#971A97 #59971A #1A9759
monochromatic
#2F082F #631163 #971A97 #CB23CB #E04BE0

Accessibility & contrast

On white

7.22
#971A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#971A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A97
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A97#FFFFFF#000000##FFFFFF
##971A971.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#405D94
Tritanopia (blue-blind)
#9C315A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #971a97;
/* rgb */ color: rgb(151, 26, 151);
/* oklch */ color: oklch(48.5% 0.205 328.2);
Tailwind
colors: {
  custom: {
    50: '#ba69b6',
    500: '#971a97',
    950: '#000000',
  },
}
SCSS
$custom: #971a97;
$custom-light: #ba69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#971a97",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.48451,
    "c": 0.20482,
    "h": 328.2
  },
  "luminance": 0.09552
}

Semantic roles & 50–950 ramp

primary
#971A97
secondary
#4BC24B
accent
#ED3A3A
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971A97

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

Preview Lab → · Contrast checker → · Palette generator →

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