#971B95#971B95

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

Color values

HEX#971B95
RGBrgb(151, 27, 149)
HSLhsl(301, 70%, 35%)
HSVhsv(301, 82%, 59%)
CMYKcmyk(0%, 82.1%, 1.3%, 40.8%)
CIE-LABlab(36.99, 61.76, -37.74)
CIE-LCHlch(36.99, 72.37, 328.57°)
OKLaboklab(48.39% 0.1735 -0.1046)
OKLCHoklch(48.39% 0.203 328.9)
XYZxyz(18.5791, 9.5346, 29.2898)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B95 #1B971D
analogous
#5B1B97 #971B95 #971B57
triadic
#971B95 #95971B #1B9597
tetradic
#971B95 #975B1B #1B971D #1B5797
square
#971B95 #975B1B #1B971D #1B5797
split-complementary
#971B95 #57971B #1B975B
monochromatic
#2F082F #631262 #971B95 #CB24C8 #DF4DDD

Accessibility & contrast

On white

7.22
#971B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#971B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B95
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B95#FFFFFF#000000##FFFFFF
##971B951.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#425D92
Tritanopia (blue-blind)
#9C3159
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #971b95;
/* rgb */ color: rgb(151, 27, 149);
/* oklch */ color: oklch(48.4% 0.203 328.9);
Tailwind
colors: {
  custom: {
    50: '#ba69b5',
    500: '#971b95',
    950: '#000000',
  },
}
SCSS
$custom: #971b95;
$custom-light: #ba69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#971b95",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 300.968,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.48387,
    "c": 0.20255,
    "h": 328.9
  },
  "luminance": 0.09533
}

Semantic roles & 50–950 ramp

primary
#971B95
secondary
#4CC14E
accent
#EC3E3B
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971B95

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

Preview Lab → · Contrast checker → · Palette generator →

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