#971F9F#971F9F

#971F9F is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.207 H 325.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#971F9F
RGBrgb(151, 31, 159)
HSLhsl(296, 67%, 37%)
HSVhsv(296, 81%, 62%)
CMYKcmyk(5%, 80.5%, 0%, 37.6%)
CIE-LABlab(37.96, 62.37, -42.27)
CIE-LCHlch(37.96, 75.35, 325.88°)
OKLaboklab(49.26% 0.1699 -0.1178)
OKLCHoklch(49.26% 0.207 325.3)
XYZxyz(19.5100, 10.0638, 33.7091)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F9F #279F1F
analogous
#571F9F #971F9F #9F1F67
triadic
#971F9F #9F971F #1F9F97
tetradic
#971F9F #9F571F #279F1F #1F679F
square
#971F9F #9F571F #279F1F #1F679F
split-complementary
#971F9F #679F1F #1F9F57
monochromatic
#360B39 #66156C #971F9F #C829D2 #D65ADF

Accessibility & contrast

On white

6.97
#971F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#971F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #971F9F
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F9F#FFFFFF#000000##FFFFFF
##971F9F1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#3D5E9C
Tritanopia (blue-blind)
#9B3860
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #971f9f;
/* rgb */ color: rgb(151, 31, 159);
/* oklch */ color: oklch(49.3% 0.207 325.3);
Tailwind
colors: {
  custom: {
    50: '#ba6bbc',
    500: '#971f9f',
    950: '#000000',
  },
}
SCSS
$custom: #971f9f;
$custom-light: #ba6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#971f9f",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 159
  },
  "hsl": {
    "h": 296.25,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49264,
    "c": 0.20679,
    "h": 325.3
  },
  "luminance": 0.10062
}

Semantic roles & 50–950 ramp

primary
#971F9F
secondary
#5EC357
accent
#EA3E48
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #971F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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