#971F95#971F95

#971F95 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.6% C 0.199 H 328.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#971F95
RGBrgb(151, 31, 149)
HSLhsl(301, 66%, 36%)
HSVhsv(301, 79%, 59%)
CMYKcmyk(0%, 79.5%, 1.3%, 40.8%)
CIE-LABlab(37.35, 60.71, -37.16)
CIE-LCHlch(37.35, 71.18, 328.53°)
OKLaboklab(48.64% 0.1705 -0.103)
OKLCHoklch(48.64% 0.199 328.9)
XYZxyz(18.6771, 9.7306, 29.3224)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F95 #1F9721
analogous
#5D1F97 #971F95 #971F59
triadic
#971F95 #95971F #1F9597
tetradic
#971F95 #975D1F #1F9721 #1F5997
square
#971F95 #975D1F #1F9721 #1F5997
split-complementary
#971F95 #59971F #1F975D
monochromatic
#310A31 #641563 #971F95 #CA29C7 #DC54DA

Accessibility & contrast

On white

7.13
#971F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#971F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F95
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F95#FFFFFF#000000##FFFFFF
##971F951.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E98
Deuteranopia (green-blind)
#435D92
Tritanopia (blue-blind)
#9C335A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #971f95;
/* rgb */ color: rgb(151, 31, 149);
/* oklch */ color: oklch(48.6% 0.199 328.9);
Tailwind
colors: {
  custom: {
    50: '#b96ab4',
    500: '#971f95',
    950: '#000000',
  },
}
SCSS
$custom: #971f95;
$custom-light: #b96ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#971f95",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 301,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48644,
    "c": 0.19916,
    "h": 328.9
  },
  "luminance": 0.09729
}

Semantic roles & 50–950 ramp

primary
#971F95
secondary
#52BF54
accent
#E9423F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971F95

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

Preview Lab → · Contrast checker → · Palette generator →

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