#971C8E#971C8E

#971C8E is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.197 H 331.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#971C8E
RGBrgb(151, 28, 142)
HSLhsl(304, 69%, 35%)
HSVhsv(304, 81%, 59%)
CMYKcmyk(0%, 81.5%, 6%, 40.8%)
CIE-LABlab(36.68, 60.40, -33.96)
CIE-LCHlch(36.68, 69.29, 330.65°)
OKLaboklab(48.03% 0.1729 -0.0936)
OKLCHoklch(48.03% 0.197 331.6)
XYZxyz(18.0603, 9.3643, 26.4422)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C8E #1C9725
analogous
#621C97 #971C8E #971C51
triadic
#971C8E #8E971C #1C8E97
tetradic
#971C8E #97621C #1C9725 #1C5197
square
#971C8E #97621C #1C9725 #1C5197
split-complementary
#971C8E #51971C #1C9762
monochromatic
#30092D #63125D #971C8E #CB26BF #DE4FD4

Accessibility & contrast

On white

7.31
#971C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#971C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C8E
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C8E#FFFFFF#000000##FFFFFF
##971C8E1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4C91
Deuteranopia (green-blind)
#465C8B
Tritanopia (blue-blind)
#9D2D55
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #971c8e;
/* rgb */ color: rgb(151, 28, 142);
/* oklch */ color: oklch(48.0% 0.197 331.6);
Tailwind
colors: {
  custom: {
    50: '#b969af',
    500: '#971c8e',
    950: '#000000',
  },
}
SCSS
$custom: #971c8e;
$custom-light: #b969af;
$custom-dark: #000000;
JSON
{
  "hex": "#971c8e",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 304.39,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48031,
    "c": 0.19659,
    "h": 331.6
  },
  "luminance": 0.09363
}

Semantic roles & 50–950 ramp

primary
#971C8E
secondary
#4EC156
accent
#EC493C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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