#971EA6#971EA6

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

Color values

HEX#971EA6
RGBrgb(151, 30, 166)
HSLhsl(293, 69%, 38%)
HSVhsv(293, 82%, 65%)
CMYKcmyk(9%, 81.9%, 0%, 34.9%)
CIE-LABlab(38.31, 63.84, -45.92)
CIE-LCHlch(38.31, 78.64, 324.28°)
OKLaboklab(49.66% 0.17 -0.1285)
OKLCHoklch(49.66% 0.213 322.9)
XYZxyz(20.1090, 10.2623, 36.9906)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971EA6 #2DA61E
analogous
#531EA6 #971EA6 #A61E71
triadic
#971EA6 #A6971E #1EA697
tetradic
#971EA6 #A6531E #2DA61E #1E71A6
square
#971EA6 #A6531E #2DA61E #1E71A6
split-complementary
#971EA6 #71A61E #1EA653
monochromatic
#390B3E #681572 #971EA6 #C529D8 #D35DE2

Accessibility & contrast

On white

6.88
#971EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#971EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #971EA6
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971EA6#FFFFFF#000000##FFFFFF
##971EA61.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971ea6;
/* rgb */ color: rgb(151, 30, 166);
/* oklch */ color: oklch(49.7% 0.213 322.9);
Tailwind
colors: {
  custom: {
    50: '#ba6bc1',
    500: '#971ea6',
    950: '#000000',
  },
}
SCSS
$custom: #971ea6;
$custom-light: #ba6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#971ea6",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 293.382,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49655,
    "c": 0.21308,
    "h": 322.9
  },
  "luminance": 0.10261
}

Semantic roles & 50–950 ramp

primary
#971EA6
secondary
#66C65A
accent
#EC3C4F
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #971EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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