#971A94#971A94

#971A94 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.3% C 0.203 H 329.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#971A94
RGBrgb(151, 26, 148)
HSLhsl(301, 71%, 35%)
HSVhsv(301, 83%, 59%)
CMYKcmyk(0%, 82.8%, 2%, 40.8%)
CIE-LABlab(36.85, 61.84, -37.35)
CIE-LCHlch(36.85, 72.25, 328.87°)
OKLaboklab(48.27% 0.1742 -0.1035)
OKLCHoklch(48.27% 0.203 329.3)
XYZxyz(18.4771, 9.4577, 28.8636)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A94 #1A971D
analogous
#5C1A97 #971A94 #971A56
triadic
#971A94 #94971A #1A9497
tetradic
#971A94 #975C1A #1A971D #1A5697
square
#971A94 #975C1A #1A971D #1A5697
split-complementary
#971A94 #56971A #1A975C
monochromatic
#2F082E #631161 #971A94 #CB23C7 #E04BDC

Accessibility & contrast

On white

7.26
#971A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#971A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971A94
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A94#FFFFFF#000000##FFFFFF
##971A941.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#425C91
Tritanopia (blue-blind)
#9D3058
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #971a94;
/* rgb */ color: rgb(151, 26, 148);
/* oklch */ color: oklch(48.3% 0.203 329.3);
Tailwind
colors: {
  custom: {
    50: '#ba69b4',
    500: '#971a94',
    950: '#000000',
  },
}
SCSS
$custom: #971a94;
$custom-light: #ba69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#971a94",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 301.44,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.48267,
    "c": 0.20261,
    "h": 329.3
  },
  "luminance": 0.09456
}

Semantic roles & 50–950 ramp

primary
#971A94
secondary
#4BC24E
accent
#ED3F3A
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971A94

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

Preview Lab → · Contrast checker → · Palette generator →

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