#971B92#971B92

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

Color values

HEX#971B92
RGBrgb(151, 27, 146)
HSLhsl(302, 70%, 35%)
HSVhsv(302, 82%, 59%)
CMYKcmyk(0%, 82.1%, 3.3%, 40.8%)
CIE-LABlab(36.82, 61.28, -36.19)
CIE-LCHlch(36.82, 71.16, 329.44°)
OKLaboklab(48.21% 0.1735 -0.1001)
OKLCHoklch(48.21% 0.2 330)
XYZxyz(18.3427, 9.4400, 28.0446)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B92 #1B9720
analogous
#5E1B97 #971B92 #971B54
triadic
#971B92 #92971B #1B9297
tetradic
#971B92 #975E1B #1B9720 #1B5497
square
#971B92 #975E1B #1B9720 #1B5497
split-complementary
#971B92 #54971B #1B975E
monochromatic
#2F082E #631260 #971B92 #CB24C4 #DF4DD9

Accessibility & contrast

On white

7.27
#971B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971B92
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B92#FFFFFF#000000##FFFFFF
##971B921.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#445C8F
Tritanopia (blue-blind)
#9D2F57
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #971b92;
/* rgb */ color: rgb(151, 27, 146);
/* oklch */ color: oklch(48.2% 0.200 330.0);
Tailwind
colors: {
  custom: {
    50: '#ba69b2',
    500: '#971b92',
    950: '#000000',
  },
}
SCSS
$custom: #971b92;
$custom-light: #ba69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#971b92",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 146
  },
  "hsl": {
    "h": 302.419,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.48206,
    "c": 0.20034,
    "h": 330
  },
  "luminance": 0.09438
}

Semantic roles & 50–950 ramp

primary
#971B92
secondary
#4CC151
accent
#EC423B
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971B92

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

Preview Lab → · Contrast checker → · Palette generator →

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