#971EA0#971EA0

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

Color values

HEX#971EA0
RGBrgb(151, 30, 160)
HSLhsl(296, 68%, 37%)
HSVhsv(296, 81%, 63%)
CMYKcmyk(5.6%, 81.3%, 0%, 37.3%)
CIE-LABlab(37.93, 62.81, -42.92)
CIE-LCHlch(37.93, 76.08, 325.65°)
OKLaboklab(49.26% 0.1706 -0.1197)
OKLCHoklch(49.26% 0.208 324.9)
XYZxyz(19.5715, 10.0472, 34.1594)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971EA0 #27A01E
analogous
#561EA0 #971EA0 #A01E68
triadic
#971EA0 #A0971E #1EA097
tetradic
#971EA0 #A0561E #27A01E #1E68A0
square
#971EA0 #A0561E #27A01E #1E68A0
split-complementary
#971EA0 #68A01E #1EA056
monochromatic
#360B39 #66146C #971EA0 #C828D4 #D659E0

Accessibility & contrast

On white

6.98
#971EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#971EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #971EA0
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971EA0#FFFFFF#000000##FFFFFF
##971EA01.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971ea0;
/* rgb */ color: rgb(151, 30, 160);
/* oklch */ color: oklch(49.3% 0.208 324.9);
Tailwind
colors: {
  custom: {
    50: '#ba6bbd',
    500: '#971ea0',
    950: '#000000',
  },
}
SCSS
$custom: #971ea0;
$custom-light: #ba6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#971ea0",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 295.846,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49263,
    "c": 0.20842,
    "h": 324.9
  },
  "luminance": 0.10046
}

Semantic roles & 50–950 ramp

primary
#971EA0
secondary
#5EC456
accent
#EB3D49
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #971EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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