#971B97#971B97

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

Color values

HEX#971B97
RGBrgb(151, 27, 151)
HSLhsl(300, 70%, 35%)
HSVhsv(300, 82%, 59%)
CMYKcmyk(0%, 82.1%, 0%, 40.8%)
CIE-LABlab(37.11, 62.08, -38.77)
CIE-LCHlch(37.11, 73.19, 328.02°)
OKLaboklab(48.51% 0.1734 -0.1076)
OKLCHoklch(48.51% 0.204 328.2)
XYZxyz(18.7401, 9.5990, 30.1379)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B97 #1B971B
analogous
#591B97 #971B97 #971B59
triadic
#971B97 #97971B #1B9797
tetradic
#971B97 #97591B #1B971B #1B5997
square
#971B97 #97591B #1B971B #1B5997
split-complementary
#971B97 #59971B #1B9759
monochromatic
#2F082F #631263 #971B97 #CB24CB #DF4DDF

Accessibility & contrast

On white

7.19
#971B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#971B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B97
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B97#FFFFFF#000000##FFFFFF
##971B971.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971b97;
/* rgb */ color: rgb(151, 27, 151);
/* oklch */ color: oklch(48.5% 0.204 328.2);
Tailwind
colors: {
  custom: {
    50: '#ba69b6',
    500: '#971b97',
    950: '#000000',
  },
}
SCSS
$custom: #971b97;
$custom-light: #ba69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#971b97",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4851,
    "c": 0.20403,
    "h": 328.2
  },
  "luminance": 0.09598
}

Semantic roles & 50–950 ramp

primary
#971B97
secondary
#4CC14C
accent
#EC3B3B
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971B97

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

Preview Lab → · Contrast checker → · Palette generator →

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