#971A93#971A93

#971A93 is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.2% C 0.202 H 329.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#971A93
RGBrgb(151, 26, 147)
HSLhsl(302, 71%, 35%)
HSVhsv(302, 83%, 59%)
CMYKcmyk(0%, 82.8%, 2.6%, 40.8%)
CIE-LABlab(36.79, 61.68, -36.84)
CIE-LCHlch(36.79, 71.84, 329.15°)
OKLaboklab(48.21% 0.1742 -0.102)
OKLCHoklch(48.21% 0.202 329.7)
XYZxyz(18.3983, 9.4262, 28.4485)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A93 #1A971E
analogous
#5D1A97 #971A93 #971A55
triadic
#971A93 #93971A #1A9397
tetradic
#971A93 #975D1A #1A971E #1A5597
square
#971A93 #975D1A #1A971E #1A5597
split-complementary
#971A93 #55971A #1A975D
monochromatic
#2F082D #631160 #971A93 #CB23C6 #E04BDB

Accessibility & contrast

On white

7.28
#971A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971A93
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A93#FFFFFF#000000##FFFFFF
##971A931.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C96
Deuteranopia (green-blind)
#435C90
Tritanopia (blue-blind)
#9D2F58
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #971a93;
/* rgb */ color: rgb(151, 26, 147);
/* oklch */ color: oklch(48.2% 0.202 329.7);
Tailwind
colors: {
  custom: {
    50: '#ba69b3',
    500: '#971a93',
    950: '#000000',
  },
}
SCSS
$custom: #971a93;
$custom-light: #ba69b3;
$custom-dark: #000000;
JSON
{
  "hex": "#971a93",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 301.92,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.48206,
    "c": 0.20188,
    "h": 329.7
  },
  "luminance": 0.09425
}

Semantic roles & 50–950 ramp

primary
#971A93
secondary
#4BC24F
accent
#ED403A
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971A93

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

Preview Lab → · Contrast checker → · Palette generator →

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