#971F92#971F92

#971F92 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.5% C 0.197 H 330.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#971F92
RGBrgb(151, 31, 146)
HSLhsl(303, 66%, 36%)
HSVhsv(303, 79%, 59%)
CMYKcmyk(0%, 79.5%, 3.3%, 40.8%)
CIE-LABlab(37.18, 60.23, -35.61)
CIE-LCHlch(37.18, 69.97, 329.41°)
OKLaboklab(48.46% 0.1705 -0.0984)
OKLCHoklch(48.46% 0.197 330)
XYZxyz(18.4407, 9.6361, 28.0773)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F92 #1F9724
analogous
#601F97 #971F92 #971F56
triadic
#971F92 #92971F #1F9297
tetradic
#971F92 #97601F #1F9724 #1F5697
square
#971F92 #97601F #1F9724 #1F5697
split-complementary
#971F92 #56971F #1F9760
monochromatic
#310A30 #641561 #971F92 #CA29C3 #DC54D6

Accessibility & contrast

On white

7.17
#971F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#971F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F92
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F92#FFFFFF#000000##FFFFFF
##971F921.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094D95
Deuteranopia (green-blind)
#455D8F
Tritanopia (blue-blind)
#9D3158
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #971f92;
/* rgb */ color: rgb(151, 31, 146);
/* oklch */ color: oklch(48.5% 0.197 330.0);
Tailwind
colors: {
  custom: {
    50: '#b96ab2',
    500: '#971f92',
    950: '#000000',
  },
}
SCSS
$custom: #971f92;
$custom-light: #b96ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#971f92",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 302.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48464,
    "c": 0.19691,
    "h": 330
  },
  "luminance": 0.09635
}

Semantic roles & 50–950 ramp

primary
#971F92
secondary
#52BF57
accent
#E9463F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971F92

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

Preview Lab → · Contrast checker → · Palette generator →

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