#971C8F#971C8F

#971C8F is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.197 H 331.2°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#971C8F
RGBrgb(151, 28, 143)
HSLhsl(304, 69%, 35%)
HSVhsv(304, 81%, 59%)
CMYKcmyk(0%, 81.5%, 5.3%, 40.8%)
CIE-LABlab(36.73, 60.55, -34.48)
CIE-LCHlch(36.73, 69.68, 330.34°)
OKLaboklab(48.09% 0.1729 -0.0952)
OKLCHoklch(48.09% 0.197 331.2)
XYZxyz(18.1357, 9.3945, 26.8394)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C8F #1C9724
analogous
#611C97 #971C8F #971C52
triadic
#971C8F #8F971C #1C8F97
tetradic
#971C8F #97611C #1C9724 #1C5297
square
#971C8F #97611C #1C9724 #1C5297
split-complementary
#971C8F #52971C #1C9761
monochromatic
#30092D #63125E #971C8F #CB26C0 #DE4FD5

Accessibility & contrast

On white

7.30
#971C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#971C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C8F
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C8F#FFFFFF#000000##FFFFFF
##971C8F1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4C92
Deuteranopia (green-blind)
#465C8C
Tritanopia (blue-blind)
#9D2E56
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #971c8f;
/* rgb */ color: rgb(151, 28, 143);
/* oklch */ color: oklch(48.1% 0.197 331.2);
Tailwind
colors: {
  custom: {
    50: '#b969b0',
    500: '#971c8f',
    950: '#000000',
  },
}
SCSS
$custom: #971c8f;
$custom-light: #b969b0;
$custom-dark: #000000;
JSON
{
  "hex": "#971c8f",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 303.902,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4809,
    "c": 0.19732,
    "h": 331.2
  },
  "luminance": 0.09393
}

Semantic roles & 50–950 ramp

primary
#971C8F
secondary
#4EC155
accent
#EC483C
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #971C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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