#971FA1#971FA1

#971FA1 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.208 H 324.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#971FA1
RGBrgb(151, 31, 161)
HSLhsl(295, 68%, 38%)
HSVhsv(295, 81%, 63%)
CMYKcmyk(6.2%, 80.7%, 0%, 36.9%)
CIE-LABlab(38.08, 62.72, -43.28)
CIE-LCHlch(38.08, 76.20, 325.39°)
OKLaboklab(49.39% 0.1698 -0.1208)
OKLCHoklch(49.39% 0.208 324.6)
XYZxyz(19.6850, 10.1338, 34.6305)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971FA1 #29A11F
analogous
#561FA1 #971FA1 #A11F6A
triadic
#971FA1 #A1971F #1FA197
tetradic
#971FA1 #A1561F #29A11F #1F6AA1
square
#971FA1 #A1561F #29A11F #1F6AA1
split-complementary
#971FA1 #6AA11F #1FA156
monochromatic
#370B3A #67156E #971FA1 #C729D4 #D55BDF

Accessibility & contrast

On white

6.94
#971FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#971FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #971FA1
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971FA1#FFFFFF#000000##FFFFFF
##971FA11.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#3B5E9E
Tritanopia (blue-blind)
#9A3961
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #971fa1;
/* rgb */ color: rgb(151, 31, 161);
/* oklch */ color: oklch(49.4% 0.208 324.6);
Tailwind
colors: {
  custom: {
    50: '#ba6bbd',
    500: '#971fa1',
    950: '#000000',
  },
}
SCSS
$custom: #971fa1;
$custom-light: #ba6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#971fa1",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 295.385,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49392,
    "c": 0.20835,
    "h": 324.6
  },
  "luminance": 0.10132
}

Semantic roles & 50–950 ramp

primary
#971FA1
secondary
#61C458
accent
#EB3D4B
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #971FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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