#971B93#971B93

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

Color values

HEX#971B93
RGBrgb(151, 27, 147)
HSLhsl(302, 70%, 35%)
HSVhsv(302, 82%, 59%)
CMYKcmyk(0%, 82.1%, 2.6%, 40.8%)
CIE-LABlab(36.88, 61.44, -36.70)
CIE-LCHlch(36.88, 71.57, 329.15°)
OKLaboklab(48.27% 0.1735 -0.1016)
OKLCHoklch(48.27% 0.201 329.7)
XYZxyz(18.4208, 9.4712, 28.4560)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B93 #1B971F
analogous
#5D1B97 #971B93 #971B55
triadic
#971B93 #93971B #1B9397
tetradic
#971B93 #975D1B #1B971F #1B5597
square
#971B93 #975D1B #1B971F #1B5597
split-complementary
#971B93 #55971B #1B975D
monochromatic
#2F082E #631260 #971B93 #CB24C6 #DF4DDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##971B93#FFFFFF#000000##FFFFFF
##971B931.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)
#004C96
Deuteranopia (green-blind)
#435C90
Tritanopia (blue-blind)
#9D3058
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #971b93;
/* rgb */ color: rgb(151, 27, 147);
/* oklch */ color: oklch(48.3% 0.201 329.7);
Tailwind
colors: {
  custom: {
    50: '#ba69b3',
    500: '#971b93',
    950: '#000000',
  },
}
SCSS
$custom: #971b93;
$custom-light: #ba69b3;
$custom-dark: #000000;
JSON
{
  "hex": "#971b93",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 301.935,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.48266,
    "c": 0.20108,
    "h": 329.7
  },
  "luminance": 0.0947
}

Semantic roles & 50–950 ramp

primary
#971B93
secondary
#4CC150
accent
#EC413B
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971B93

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

Preview Lab → · Contrast checker → · Palette generator →

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