#971F97#971F97

#971F97 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.201 H 328.1°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#971F97
RGBrgb(151, 31, 151)
HSLhsl(300, 66%, 36%)
HSVhsv(300, 79%, 59%)
CMYKcmyk(0%, 79.5%, 0%, 40.8%)
CIE-LABlab(37.47, 61.04, -38.19)
CIE-LCHlch(37.47, 72.00, 327.96°)
OKLaboklab(48.77% 0.1704 -0.106)
OKLCHoklch(48.77% 0.201 328.1)
XYZxyz(18.8382, 9.7951, 30.1706)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F97 #1F971F
analogous
#5B1F97 #971F97 #971F5B
triadic
#971F97 #97971F #1F9797
tetradic
#971F97 #975B1F #1F971F #1F5B97
square
#971F97 #975B1F #1F971F #1F5B97
split-complementary
#971F97 #5B971F #1F975B
monochromatic
#310A31 #641564 #971F97 #CA29CA #DC54DC

Accessibility & contrast

On white

7.10
#971F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#971F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F97
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F97#FFFFFF#000000##FFFFFF
##971F971.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#425D94
Tritanopia (blue-blind)
#9C345B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #971f97;
/* rgb */ color: rgb(151, 31, 151);
/* oklch */ color: oklch(48.8% 0.201 328.1);
Tailwind
colors: {
  custom: {
    50: '#b96ab6',
    500: '#971f97',
    950: '#000000',
  },
}
SCSS
$custom: #971f97;
$custom-light: #b96ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#971f97",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48765,
    "c": 0.20066,
    "h": 328.1
  },
  "luminance": 0.09794
}

Semantic roles & 50–950 ramp

primary
#971F97
secondary
#52BF52
accent
#E93F3F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971F97

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

Preview Lab → · Contrast checker → · Palette generator →

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