#971F89#971F89

#971F89 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.190 H 333.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#971F89
RGBrgb(151, 31, 137)
HSLhsl(307, 66%, 36%)
HSVhsv(307, 79%, 59%)
CMYKcmyk(0%, 79.5%, 9.3%, 40.8%)
CIE-LABlab(36.68, 58.82, -30.87)
CIE-LCHlch(36.68, 66.43, 332.31°)
OKLaboklab(47.95% 0.1704 -0.0848)
OKLCHoklch(47.95% 0.19 333.6)
XYZxyz(17.7680, 9.3670, 24.5343)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F89 #1F972D
analogous
#691F97 #971F89 #971F4D
triadic
#971F89 #89971F #1F8997
tetradic
#971F89 #97691F #1F972D #1F4D97
square
#971F89 #97691F #1F972D #1F4D97
split-complementary
#971F89 #4D971F #1F9769
monochromatic
#310A2D #64155B #971F89 #CA29B7 #DC54CC

Accessibility & contrast

On white

7.31
#971F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971F89
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F89#FFFFFF#000000##FFFFFF
##971F891.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4B8C
Deuteranopia (green-blind)
#4A5C86
Tritanopia (blue-blind)
#9E2C53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #971f89;
/* rgb */ color: rgb(151, 31, 137);
/* oklch */ color: oklch(47.9% 0.190 333.6);
Tailwind
colors: {
  custom: {
    50: '#b96aac',
    500: '#971f89',
    950: '#000000',
  },
}
SCSS
$custom: #971f89;
$custom-light: #b96aac;
$custom-dark: #000000;
JSON
{
  "hex": "#971f89",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 307,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47946,
    "c": 0.19031,
    "h": 333.6
  },
  "luminance": 0.09365
}

Semantic roles & 50–950 ramp

primary
#971F89
secondary
#52BF5F
accent
#E9533F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971F89

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

Preview Lab → · Contrast checker → · Palette generator →

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