#971C97#971C97

#971C97 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.6% C 0.203 H 328.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#971C97
RGBrgb(151, 28, 151)
HSLhsl(300, 69%, 35%)
HSVhsv(300, 81%, 59%)
CMYKcmyk(0%, 81.5%, 0%, 40.8%)
CIE-LABlab(37.20, 61.83, -38.63)
CIE-LCHlch(37.20, 72.91, 328.00°)
OKLaboklab(48.57% 0.1727 -0.1072)
OKLCHoklch(48.57% 0.203 328.2)
XYZxyz(18.7634, 9.6456, 30.1457)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C97 #1C971C
analogous
#591C97 #971C97 #971C59
triadic
#971C97 #97971C #1C9797
tetradic
#971C97 #97591C #1C971C #1C5997
square
#971C97 #97591C #1C971C #1C5997
split-complementary
#971C97 #59971C #1C9759
monochromatic
#300930 #631263 #971C97 #CB26CB #DE4FDE

Accessibility & contrast

On white

7.17
#971C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#971C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C97
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C97#FFFFFF#000000##FFFFFF
##971C971.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#415D94
Tritanopia (blue-blind)
#9C325B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #971c97;
/* rgb */ color: rgb(151, 28, 151);
/* oklch */ color: oklch(48.6% 0.203 328.2);
Tailwind
colors: {
  custom: {
    50: '#ba69b6',
    500: '#971c97',
    950: '#000000',
  },
}
SCSS
$custom: #971c97;
$custom-light: #ba69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#971c97",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48571,
    "c": 0.20323,
    "h": 328.2
  },
  "luminance": 0.09644
}

Semantic roles & 50–950 ramp

primary
#971C97
secondary
#4EC14E
accent
#EC3C3C
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971C97

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

Preview Lab → · Contrast checker → · Palette generator →

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