#971C99#971C99

#971C99 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.7% C 0.205 H 327.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#971C99
RGBrgb(151, 28, 153)
HSLhsl(299, 69%, 35%)
HSVhsv(299, 82%, 60%)
CMYKcmyk(1.3%, 81.7%, 0%, 40%)
CIE-LABlab(37.32, 62.16, -39.65)
CIE-LCHlch(37.32, 73.73, 327.46°)
OKLaboklab(48.7% 0.1725 -0.1102)
OKLCHoklch(48.7% 0.205 327.4)
XYZxyz(18.9272, 9.7111, 31.0084)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C99 #1E991C
analogous
#581C99 #971C99 #991C5C
triadic
#971C99 #99971C #1C9997
tetradic
#971C99 #99581C #1E991C #1C5C99
square
#971C99 #99581C #1E991C #1C5C99
split-complementary
#971C99 #5C991C #1C9958
monochromatic
#310932 #641365 #971C99 #CA25CD #DD50DF

Accessibility & contrast

On white

7.14
#971C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#971C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C99
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C99#FFFFFF#000000##FFFFFF
##971C991.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#405D96
Tritanopia (blue-blind)
#9C335C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #971c99;
/* rgb */ color: rgb(151, 28, 153);
/* oklch */ color: oklch(48.7% 0.205 327.4);
Tailwind
colors: {
  custom: {
    50: '#ba6ab7',
    500: '#971c99',
    950: '#000000',
  },
}
SCSS
$custom: #971c99;
$custom-light: #ba6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#971c99",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 299.04,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48695,
    "c": 0.20473,
    "h": 327.4
  },
  "luminance": 0.0971
}

Semantic roles & 50–950 ramp

primary
#971C99
secondary
#51C24F
accent
#EC3C3F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971C99

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

Preview Lab → · Contrast checker → · Palette generator →

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