#971C8B#971C8B

#971C8B is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.194 H 332.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#971C8B
RGBrgb(151, 28, 139)
HSLhsl(306, 69%, 35%)
HSVhsv(306, 81%, 59%)
CMYKcmyk(0%, 81.5%, 7.9%, 40.8%)
CIE-LABlab(36.51, 59.93, -32.38)
CIE-LCHlch(36.51, 68.12, 331.62°)
OKLaboklab(47.86% 0.1728 -0.0891)
OKLCHoklch(47.86% 0.194 332.7)
XYZxyz(17.8381, 9.2755, 25.2720)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C8B #1C9728
analogous
#661C97 #971C8B #971C4D
triadic
#971C8B #8B971C #1C8B97
tetradic
#971C8B #97661C #1C9728 #1C4D97
square
#971C8B #97661C #1C9728 #1C4D97
split-complementary
#971C8B #4D971C #1C9766
monochromatic
#30092C #63125B #971C8B #CB26BB #DE4FD0

Accessibility & contrast

On white

7.36
#971C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#971C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C8B
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C8B#FFFFFF#000000##FFFFFF
##971C8B1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134B8E
Deuteranopia (green-blind)
#485C88
Tritanopia (blue-blind)
#9E2B54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #971c8b;
/* rgb */ color: rgb(151, 28, 139);
/* oklch */ color: oklch(47.9% 0.194 332.7);
Tailwind
colors: {
  custom: {
    50: '#b969ad',
    500: '#971c8b',
    950: '#000000',
  },
}
SCSS
$custom: #971c8b;
$custom-light: #b969ad;
$custom-dark: #000000;
JSON
{
  "hex": "#971c8b",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 305.854,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47858,
    "c": 0.19443,
    "h": 332.7
  },
  "luminance": 0.09274
}

Semantic roles & 50–950 ramp

primary
#971C8B
secondary
#4EC159
accent
#EC4D3C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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