#971A89#971A89

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

Color values

HEX#971A89
RGBrgb(151, 26, 137)
HSLhsl(307, 71%, 35%)
HSVhsv(307, 83%, 59%)
CMYKcmyk(0%, 82.8%, 9.3%, 40.8%)
CIE-LABlab(36.23, 60.14, -31.59)
CIE-LCHlch(36.23, 67.93, 332.28°)
OKLaboklab(47.62% 0.1743 -0.0868)
OKLCHoklch(47.62% 0.195 333.5)
XYZxyz(17.6474, 9.1258, 24.4941)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A89 #1A9728
analogous
#671A97 #971A89 #971A4B
triadic
#971A89 #89971A #1A8997
tetradic
#971A89 #97671A #1A9728 #1A4B97
square
#971A89 #97671A #1A9728 #1A4B97
split-complementary
#971A89 #4B971A #1A9767
monochromatic
#2F082A #63115A #971A89 #CB23B8 #E04BCF

Accessibility & contrast

On white

7.43
#971A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971A89
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A89#FFFFFF#000000##FFFFFF
##971A891.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144A8C
Deuteranopia (green-blind)
#485B86
Tritanopia (blue-blind)
#9E2952
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971a89;
/* rgb */ color: rgb(151, 26, 137);
/* oklch */ color: oklch(47.6% 0.195 333.5);
Tailwind
colors: {
  custom: {
    50: '#ba68ac',
    500: '#971a89',
    950: '#000000',
  },
}
SCSS
$custom: #971a89;
$custom-light: #ba68ac;
$custom-dark: #000000;
JSON
{
  "hex": "#971a89",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 306.72,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4762,
    "c": 0.19469,
    "h": 333.5
  },
  "luminance": 0.09124
}

Semantic roles & 50–950 ramp

primary
#971A89
secondary
#4BC258
accent
#ED4E3A
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971A89

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

Preview Lab → · Contrast checker → · Palette generator →

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