#971B94#971B94

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

Color values

HEX#971B94
RGBrgb(151, 27, 148)
HSLhsl(301, 70%, 35%)
HSVhsv(301, 82%, 59%)
CMYKcmyk(0%, 82.1%, 2%, 40.8%)
CIE-LABlab(36.93, 61.60, -37.22)
CIE-LCHlch(36.93, 71.97, 328.86°)
OKLaboklab(48.33% 0.1735 -0.1031)
OKLCHoklch(48.33% 0.202 329.3)
XYZxyz(18.4996, 9.5028, 28.8711)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B94 #1B971E
analogous
#5C1B97 #971B94 #971B56
triadic
#971B94 #94971B #1B9497
tetradic
#971B94 #975C1B #1B971E #1B5697
square
#971B94 #975C1B #1B971E #1B5697
split-complementary
#971B94 #56971B #1B975C
monochromatic
#2F082E #631261 #971B94 #CB24C7 #DF4DDC

Accessibility & contrast

On white

7.24
#971B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#971B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B94
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B94#FFFFFF#000000##FFFFFF
##971B941.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#435C91
Tritanopia (blue-blind)
#9C3059
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #971b94;
/* rgb */ color: rgb(151, 27, 148);
/* oklch */ color: oklch(48.3% 0.202 329.3);
Tailwind
colors: {
  custom: {
    50: '#ba69b4',
    500: '#971b94',
    950: '#000000',
  },
}
SCSS
$custom: #971b94;
$custom-light: #ba69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#971b94",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 301.452,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.48326,
    "c": 0.20181,
    "h": 329.3
  },
  "luminance": 0.09501
}

Semantic roles & 50–950 ramp

primary
#971B94
secondary
#4CC14F
accent
#EC403B
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971B94

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

Preview Lab → · Contrast checker → · Palette generator →

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