#971A8E#971A8E

#971A8E is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.198 H 331.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#971A8E
RGBrgb(151, 26, 142)
HSLhsl(304, 71%, 35%)
HSVhsv(304, 83%, 59%)
CMYKcmyk(0%, 82.8%, 6%, 40.8%)
CIE-LABlab(36.50, 60.90, -34.23)
CIE-LCHlch(36.50, 69.86, 330.66°)
OKLaboklab(47.91% 0.1743 -0.0944)
OKLCHoklch(47.91% 0.198 331.6)
XYZxyz(18.0144, 9.2726, 26.4270)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A8E #1A9723
analogous
#621A97 #971A8E #971A50
triadic
#971A8E #8E971A #1A8E97
tetradic
#971A8E #97621A #1A9723 #1A5097
square
#971A8E #97621A #1A9723 #1A5097
split-complementary
#971A8E #50971A #1A9762
monochromatic
#2F082C #63115D #971A8E #CB23BF #E04BD5

Accessibility & contrast

On white

7.36
#971A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#971A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A8E
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A8E#FFFFFF#000000##FFFFFF
##971A8E1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094B91
Deuteranopia (green-blind)
#465C8B
Tritanopia (blue-blind)
#9D2C55
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #971a8e;
/* rgb */ color: rgb(151, 26, 142);
/* oklch */ color: oklch(47.9% 0.198 331.6);
Tailwind
colors: {
  custom: {
    50: '#ba68af',
    500: '#971a8e',
    950: '#000000',
  },
}
SCSS
$custom: #971a8e;
$custom-light: #ba68af;
$custom-dark: #000000;
JSON
{
  "hex": "#971a8e",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 304.32,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47908,
    "c": 0.19824,
    "h": 331.6
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#971A8E
secondary
#4BC253
accent
#ED473A
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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