#971B8F#971B8F

#971B8F is a mid, vivid purple. Relative luminance 0.093; OKLCH L 48.0% C 0.198 H 331.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#971B8F
RGBrgb(151, 27, 143)
HSLhsl(304, 70%, 35%)
HSVhsv(304, 82%, 59%)
CMYKcmyk(0%, 82.1%, 5.3%, 40.8%)
CIE-LABlab(36.65, 60.81, -34.62)
CIE-LCHlch(36.65, 69.97, 330.35°)
OKLaboklab(48.03% 0.1736 -0.0956)
OKLCHoklch(48.03% 0.198 331.2)
XYZxyz(18.1124, 9.3479, 26.8317)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B8F #1B9723
analogous
#611B97 #971B8F #971B51
triadic
#971B8F #8F971B #1B8F97
tetradic
#971B8F #97611B #1B9723 #1B5197
square
#971B8F #97611B #1B9723 #1B5197
split-complementary
#971B8F #51971B #1B9761
monochromatic
#2F082D #63125E #971B8F #CB24C0 #DF4DD6

Accessibility & contrast

On white

7.32
#971B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#971B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B8F
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B8F#FFFFFF#000000##FFFFFF
##971B8F1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084B92
Deuteranopia (green-blind)
#465C8C
Tritanopia (blue-blind)
#9D2D56
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #971b8f;
/* rgb */ color: rgb(151, 27, 143);
/* oklch */ color: oklch(48.0% 0.198 331.2);
Tailwind
colors: {
  custom: {
    50: '#b969b0',
    500: '#971b8f',
    950: '#000000',
  },
}
SCSS
$custom: #971b8f;
$custom-light: #b969b0;
$custom-dark: #000000;
JSON
{
  "hex": "#971b8f",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 303.871,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.48028,
    "c": 0.19815,
    "h": 331.2
  },
  "luminance": 0.09346
}

Semantic roles & 50–950 ramp

primary
#971B8F
secondary
#4CC154
accent
#EC473B
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #971B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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