#971FA6#971FA6

#971FA6 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.212 H 322.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#971FA6
RGBrgb(151, 31, 166)
HSLhsl(293, 69%, 39%)
HSVhsv(293, 81%, 65%)
CMYKcmyk(9%, 81.3%, 0%, 34.9%)
CIE-LABlab(38.40, 63.58, -45.77)
CIE-LCHlch(38.40, 78.34, 324.25°)
OKLaboklab(49.72% 0.1693 -0.1281)
OKLCHoklch(49.72% 0.212 322.9)
XYZxyz(20.1347, 10.3137, 36.9992)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971FA6 #2EA61F
analogous
#531FA6 #971FA6 #A61F71
triadic
#971FA6 #A6971F #1FA697
tetradic
#971FA6 #A6531F #2EA61F #1F71A6
square
#971FA6 #A6531F #2EA61F #1F71A6
split-complementary
#971FA6 #71A61F #1FA653
monochromatic
#390C3F #681572 #971FA6 #C42BD7 #D25EE1

Accessibility & contrast

On white

6.86
#971FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#971FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #971FA6
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971FA6#FFFFFF#000000##FFFFFF
##971FA61.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#375FA3
Tritanopia (blue-blind)
#993C64
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #971fa6;
/* rgb */ color: rgb(151, 31, 166);
/* oklch */ color: oklch(49.7% 0.212 322.9);
Tailwind
colors: {
  custom: {
    50: '#ba6bc1',
    500: '#971fa6',
    950: '#000000',
  },
}
SCSS
$custom: #971fa6;
$custom-light: #ba6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#971fa6",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 293.333,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49719,
    "c": 0.21226,
    "h": 322.9
  },
  "luminance": 0.10312
}

Semantic roles & 50–950 ramp

primary
#971FA6
secondary
#67C55B
accent
#EB3C50
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #971FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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