#971A86#971A86

#971A86 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.5% C 0.193 H 334.7°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#971A86
RGBrgb(151, 26, 134)
HSLhsl(308, 71%, 35%)
HSVhsv(308, 83%, 59%)
CMYKcmyk(0%, 82.8%, 11.3%, 40.8%)
CIE-LABlab(36.06, 59.69, -29.99)
CIE-LCHlch(36.06, 66.80, 333.32°)
OKLaboklab(47.45% 0.1742 -0.0822)
OKLCHoklch(47.45% 0.193 334.7)
XYZxyz(17.4352, 9.0409, 23.3765)
Luminance0.0904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A86 #1A972B
analogous
#6A1A97 #971A86 #971A48
triadic
#971A86 #86971A #1A8697
tetradic
#971A86 #976A1A #1A972B #1A4897
square
#971A86 #976A1A #1A972B #1A4897
split-complementary
#971A86 #48971A #1A976A
monochromatic
#2F0829 #631158 #971A86 #CB23B4 #E04BCC

Accessibility & contrast

On white

7.48
#971A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#971A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A86
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A86#FFFFFF#000000##FFFFFF
##971A861.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184989
Deuteranopia (green-blind)
#4A5B83
Tritanopia (blue-blind)
#9F2750
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971a86;
/* rgb */ color: rgb(151, 26, 134);
/* oklch */ color: oklch(47.5% 0.193 334.7);
Tailwind
colors: {
  custom: {
    50: '#ba68a9',
    500: '#971a86',
    950: '#000000',
  },
}
SCSS
$custom: #971a86;
$custom-light: #ba68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#971a86",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 308.16,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47451,
    "c": 0.19258,
    "h": 334.7
  },
  "luminance": 0.09039
}

Semantic roles & 50–950 ramp

primary
#971A86
secondary
#4BC25B
accent
#ED533A
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971A86

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

Preview Lab → · Contrast checker → · Palette generator →

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