#971C8C#971C8C

#971C8C is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.195 H 332.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#971C8C
RGBrgb(151, 28, 140)
HSLhsl(305, 69%, 35%)
HSVhsv(305, 81%, 59%)
CMYKcmyk(0%, 81.5%, 7.3%, 40.8%)
CIE-LABlab(36.56, 60.09, -32.91)
CIE-LCHlch(36.56, 68.51, 331.29°)
OKLaboklab(47.92% 0.1729 -0.0906)
OKLCHoklch(47.92% 0.195 332.3)
XYZxyz(17.9115, 9.3048, 25.6585)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C8C #1C9727
analogous
#651C97 #971C8C #971C4E
triadic
#971C8C #8C971C #1C8C97
tetradic
#971C8C #97651C #1C9727 #1C4E97
square
#971C8C #97651C #1C9727 #1C4E97
split-complementary
#971C8C #4E971C #1C9765
monochromatic
#30092C #63125C #971C8C #CB26BC #DE4FD2

Accessibility & contrast

On white

7.34
#971C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#971C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C8C
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C8C#FFFFFF#000000##FFFFFF
##971C8C1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114B8F
Deuteranopia (green-blind)
#475C89
Tritanopia (blue-blind)
#9E2C54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #971c8c;
/* rgb */ color: rgb(151, 28, 140);
/* oklch */ color: oklch(47.9% 0.195 332.3);
Tailwind
colors: {
  custom: {
    50: '#b969ae',
    500: '#971c8c',
    950: '#000000',
  },
}
SCSS
$custom: #971c8c;
$custom-light: #b969ae;
$custom-dark: #000000;
JSON
{
  "hex": "#971c8c",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 305.366,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47915,
    "c": 0.19516,
    "h": 332.3
  },
  "luminance": 0.09303
}

Semantic roles & 50–950 ramp

primary
#971C8C
secondary
#4EC158
accent
#EC4C3C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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