#971C88#971C88

#971C88 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.192 H 333.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#971C88
RGBrgb(151, 28, 136)
HSLhsl(307, 69%, 35%)
HSVhsv(307, 81%, 59%)
CMYKcmyk(0%, 81.5%, 9.9%, 40.8%)
CIE-LABlab(36.35, 59.48, -30.79)
CIE-LCHlch(36.35, 66.97, 332.63°)
OKLaboklab(47.69% 0.1727 -0.0845)
OKLCHoklch(47.69% 0.192 333.9)
XYZxyz(17.6219, 9.1890, 24.1333)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C88 #1C972B
analogous
#681C97 #971C88 #971C4B
triadic
#971C88 #88971C #1C8897
tetradic
#971C88 #97681C #1C972B #1C4B97
square
#971C88 #97681C #1C972B #1C4B97
split-complementary
#971C88 #4B971C #1C9768
monochromatic
#30092B #63125A #971C88 #CB26B6 #DE4FCD

Accessibility & contrast

On white

7.40
#971C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#971C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C88
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C88#FFFFFF#000000##FFFFFF
##971C881.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184A8B
Deuteranopia (green-blind)
#495C85
Tritanopia (blue-blind)
#9E2A52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971c88;
/* rgb */ color: rgb(151, 28, 136);
/* oklch */ color: oklch(47.7% 0.192 333.9);
Tailwind
colors: {
  custom: {
    50: '#b969ab',
    500: '#971c88',
    950: '#000000',
  },
}
SCSS
$custom: #971c88;
$custom-light: #b969ab;
$custom-dark: #000000;
JSON
{
  "hex": "#971c88",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 136
  },
  "hsl": {
    "h": 307.317,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47688,
    "c": 0.1923,
    "h": 333.9
  },
  "luminance": 0.09187
}

Semantic roles & 50–950 ramp

primary
#971C88
secondary
#4EC15C
accent
#EC523C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971C88

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

Preview Lab → · Contrast checker → · Palette generator →

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