#971A88#971A88

#971A88 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.6% C 0.194 H 333.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#971A88
RGBrgb(151, 26, 136)
HSLhsl(307, 71%, 35%)
HSVhsv(307, 83%, 59%)
CMYKcmyk(0%, 82.8%, 9.9%, 40.8%)
CIE-LABlab(36.17, 59.98, -31.06)
CIE-LCHlch(36.17, 67.55, 332.62°)
OKLaboklab(47.56% 0.1742 -0.0853)
OKLCHoklch(47.56% 0.194 333.9)
XYZxyz(17.5760, 9.0973, 24.1181)
Luminance0.0910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A88 #1A9729
analogous
#681A97 #971A88 #971A4A
triadic
#971A88 #88971A #1A8897
tetradic
#971A88 #97681A #1A9729 #1A4A97
square
#971A88 #97681A #1A9729 #1A4A97
split-complementary
#971A88 #4A971A #1A9768
monochromatic
#2F082A #631159 #971A88 #CB23B7 #E04BCE

Accessibility & contrast

On white

7.45
#971A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#971A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A88
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A88#FFFFFF#000000##FFFFFF
##971A881.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154A8B
Deuteranopia (green-blind)
#495B85
Tritanopia (blue-blind)
#9E2852
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971a88;
/* rgb */ color: rgb(151, 26, 136);
/* oklch */ color: oklch(47.6% 0.194 333.9);
Tailwind
colors: {
  custom: {
    50: '#ba68ab',
    500: '#971a88',
    950: '#000000',
  },
}
SCSS
$custom: #971a88;
$custom-light: #ba68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#971a88",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 307.2,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47563,
    "c": 0.19398,
    "h": 333.9
  },
  "luminance": 0.09096
}

Semantic roles & 50–950 ramp

primary
#971A88
secondary
#4BC259
accent
#ED503A
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971A88

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

Preview Lab → · Contrast checker → · Palette generator →

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