#971A87#971A87

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

Color values

HEX#971A87
RGBrgb(151, 26, 135)
HSLhsl(308, 71%, 35%)
HSVhsv(308, 83%, 59%)
CMYKcmyk(0%, 82.8%, 10.6%, 40.8%)
CIE-LABlab(36.12, 59.84, -30.53)
CIE-LCHlch(36.12, 67.17, 332.97°)
OKLaboklab(47.51% 0.1742 -0.0837)
OKLCHoklch(47.51% 0.193 334.3)
XYZxyz(17.5053, 9.0690, 23.7455)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A87 #1A972A
analogous
#691A97 #971A87 #971A49
triadic
#971A87 #87971A #1A8797
tetradic
#971A87 #97691A #1A972A #1A4997
square
#971A87 #97691A #1A972A #1A4997
split-complementary
#971A87 #49971A #1A9769
monochromatic
#2F082A #631158 #971A87 #CB23B6 #E04BCD

Accessibility & contrast

On white

7.46
#971A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971A87
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A87#FFFFFF#000000##FFFFFF
##971A871.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174A8A
Deuteranopia (green-blind)
#495B84
Tritanopia (blue-blind)
#9F2851
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971a87;
/* rgb */ color: rgb(151, 26, 135);
/* oklch */ color: oklch(47.5% 0.193 334.3);
Tailwind
colors: {
  custom: {
    50: '#ba68aa',
    500: '#971a87',
    950: '#000000',
  },
}
SCSS
$custom: #971a87;
$custom-light: #ba68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#971a87",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 307.68,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47507,
    "c": 0.19328,
    "h": 334.3
  },
  "luminance": 0.09067
}

Semantic roles & 50–950 ramp

primary
#971A87
secondary
#4BC25A
accent
#ED513A
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971A87

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

Preview Lab → · Contrast checker → · Palette generator →

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