#971EA1#971EA1

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

Color values

HEX#971EA1
RGBrgb(151, 30, 161)
HSLhsl(295, 69%, 37%)
HSVhsv(295, 81%, 63%)
CMYKcmyk(6.2%, 81.4%, 0%, 36.9%)
CIE-LABlab(37.99, 62.98, -43.42)
CIE-LCHlch(37.99, 76.50, 325.42°)
OKLaboklab(49.33% 0.1705 -0.1212)
OKLCHoklch(49.33% 0.209 324.6)
XYZxyz(19.6593, 10.0824, 34.6219)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971EA1 #28A11E
analogous
#561EA1 #971EA1 #A11E69
triadic
#971EA1 #A1971E #1EA197
tetradic
#971EA1 #A1561E #28A11E #1E69A1
square
#971EA1 #A1561E #28A11E #1E69A1
split-complementary
#971EA1 #69A11E #1EA156
monochromatic
#360B3A #67146D #971EA1 #C728D5 #D659E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##971EA1#FFFFFF#000000##FFFFFF
##971EA11.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)
#0050A4
Deuteranopia (green-blind)
#3B5E9E
Tritanopia (blue-blind)
#9A3961
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #971ea1;
/* rgb */ color: rgb(151, 30, 161);
/* oklch */ color: oklch(49.3% 0.209 324.6);
Tailwind
colors: {
  custom: {
    50: '#ba6bbd',
    500: '#971ea1',
    950: '#000000',
  },
}
SCSS
$custom: #971ea1;
$custom-light: #ba6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#971ea1",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 295.42,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49328,
    "c": 0.20919,
    "h": 324.6
  },
  "luminance": 0.10081
}

Semantic roles & 50–950 ramp

primary
#971EA1
secondary
#5FC457
accent
#EB3C4A
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #971EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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