#971A95#971A95

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

Color values

HEX#971A95
RGBrgb(151, 26, 149)
HSLhsl(301, 71%, 35%)
HSVhsv(301, 83%, 59%)
CMYKcmyk(0%, 82.8%, 1.3%, 40.8%)
CIE-LABlab(36.91, 62.00, -37.87)
CIE-LCHlch(36.91, 72.65, 328.58°)
OKLaboklab(48.33% 0.1741 -0.105)
OKLCHoklch(48.33% 0.203 328.9)
XYZxyz(18.5566, 9.4895, 29.2822)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971A95 #1A971C
analogous
#5B1A97 #971A95 #971A57
triadic
#971A95 #95971A #1A9597
tetradic
#971A95 #975B1A #1A971C #1A5797
square
#971A95 #975B1A #1A971C #1A5797
split-complementary
#971A95 #57971A #1A975B
monochromatic
#2F082E #631161 #971A95 #CB23C9 #E04BDE

Accessibility & contrast

On white

7.25
#971A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971A95
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971A95#FFFFFF#000000##FFFFFF
##971A951.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971a95;
/* rgb */ color: rgb(151, 26, 149);
/* oklch */ color: oklch(48.3% 0.203 328.9);
Tailwind
colors: {
  custom: {
    50: '#ba69b5',
    500: '#971a95',
    950: '#000000',
  },
}
SCSS
$custom: #971a95;
$custom-light: #ba69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#971a95",
  "rgb": {
    "r": 151,
    "g": 26,
    "b": 149
  },
  "hsl": {
    "h": 300.96,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.48328,
    "c": 0.20334,
    "h": 328.9
  },
  "luminance": 0.09488
}

Semantic roles & 50–950 ramp

primary
#971A95
secondary
#4BC24D
accent
#ED3D3A
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971A95

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

Preview Lab → · Contrast checker → · Palette generator →

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