#971A85#971A85

#971A85 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.192 H 335.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#971A85
RGBrgb(151, 26, 133)
HSLhsl(309, 71%, 35%)
HSVhsv(309, 83%, 59%)
CMYKcmyk(0%, 82.8%, 11.9%, 40.8%)
CIE-LABlab(36.01, 59.54, -29.46)
CIE-LCHlch(36.01, 66.43, 333.68°)
OKLaboklab(47.4% 0.1741 -0.0806)
OKLCHoklch(47.4% 0.192 335.2)
XYZxyz(17.3658, 9.0132, 23.0109)
Luminance0.0901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A85 #1A972C
analogous
#6B1A97 #971A85 #971A47
triadic
#971A85 #85971A #1A8597
tetradic
#971A85 #976B1A #1A972C #1A4797
square
#971A85 #976B1A #1A972C #1A4797
split-complementary
#971A85 #47971A #1A976B
monochromatic
#2F0829 #631157 #971A85 #CB23B3 #E04BCB

Accessibility & contrast

On white

7.49
#971A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#971A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A85
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A85#FFFFFF#000000##FFFFFF
##971A851.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971a85;
/* rgb */ color: rgb(151, 26, 133);
/* oklch */ color: oklch(47.4% 0.192 335.2);
Tailwind
colors: {
  custom: {
    50: '#ba68a9',
    500: '#971a85',
    950: '#000000',
  },
}
SCSS
$custom: #971a85;
$custom-light: #ba68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#971a85",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 308.64,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47396,
    "c": 0.1919,
    "h": 335.2
  },
  "luminance": 0.09012
}

Semantic roles & 50–950 ramp

primary
#971A85
secondary
#4BC25C
accent
#ED543A
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971A85

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

Preview Lab → · Contrast checker → · Palette generator →

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