#971C95#971C95

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

Color values

HEX#971C95
RGBrgb(151, 28, 149)
HSLhsl(301, 69%, 35%)
HSVhsv(301, 81%, 59%)
CMYKcmyk(0%, 81.5%, 1.3%, 40.8%)
CIE-LABlab(37.08, 61.51, -37.60)
CIE-LCHlch(37.08, 72.09, 328.56°)
OKLaboklab(48.45% 0.1727 -0.1042)
OKLCHoklch(48.45% 0.202 328.9)
XYZxyz(18.6024, 9.5812, 29.2975)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C95 #1C971E
analogous
#5C1C97 #971C95 #971C57
triadic
#971C95 #95971C #1C9597
tetradic
#971C95 #975C1C #1C971E #1C5797
square
#971C95 #975C1C #1C971E #1C5797
split-complementary
#971C95 #57971C #1C975C
monochromatic
#30092F #631262 #971C95 #CB26C8 #DE4FDC

Accessibility & contrast

On white

7.20
#971C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#971C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C95
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C95#FFFFFF#000000##FFFFFF
##971C951.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.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: #971c95;
/* rgb */ color: rgb(151, 28, 149);
/* oklch */ color: oklch(48.4% 0.202 328.9);
Tailwind
colors: {
  custom: {
    50: '#ba69b5',
    500: '#971c95',
    950: '#000000',
  },
}
SCSS
$custom: #971c95;
$custom-light: #ba69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#971c95",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 300.976,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48448,
    "c": 0.20174,
    "h": 328.9
  },
  "luminance": 0.0958
}

Semantic roles & 50–950 ramp

primary
#971C95
secondary
#4EC150
accent
#EC3F3C
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971C95

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

Preview Lab → · Contrast checker → · Palette generator →

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