#971FA0#971FA0

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

Color values

HEX#971FA0
RGBrgb(151, 31, 160)
HSLhsl(296, 68%, 37%)
HSVhsv(296, 81%, 63%)
CMYKcmyk(5.6%, 80.6%, 0%, 37.3%)
CIE-LABlab(38.02, 62.54, -42.77)
CIE-LCHlch(38.02, 75.77, 325.63°)
OKLaboklab(49.33% 0.1699 -0.1193)
OKLCHoklch(49.33% 0.208 324.9)
XYZxyz(19.5972, 10.0987, 34.1679)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971FA0 #28A01F
analogous
#571FA0 #971FA0 #A01F68
triadic
#971FA0 #A0971F #1FA097
tetradic
#971FA0 #A0571F #28A01F #1F68A0
square
#971FA0 #A0571F #28A01F #1F68A0
split-complementary
#971FA0 #68A01F #1FA057
monochromatic
#360B39 #67156D #971FA0 #C729D3 #D65ADF

Accessibility & contrast

On white

6.96
#971FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#971FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #971FA0
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971FA0#FFFFFF#000000##FFFFFF
##971FA01.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#3C5E9D
Tritanopia (blue-blind)
#9A3960
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #971fa0;
/* rgb */ color: rgb(151, 31, 160);
/* oklch */ color: oklch(49.3% 0.208 324.9);
Tailwind
colors: {
  custom: {
    50: '#ba6bbd',
    500: '#971fa0',
    950: '#000000',
  },
}
SCSS
$custom: #971fa0;
$custom-light: #ba6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#971fa0",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 295.814,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49328,
    "c": 0.20757,
    "h": 324.9
  },
  "luminance": 0.10097
}

Semantic roles & 50–950 ramp

primary
#971FA0
secondary
#5FC358
accent
#EA3D49
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #971FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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