#971C83#971C83

#971C83 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.189 H 336.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#971C83
RGBrgb(151, 28, 131)
HSLhsl(310, 69%, 35%)
HSVhsv(310, 81%, 59%)
CMYKcmyk(0%, 81.5%, 13.2%, 40.8%)
CIE-LABlab(36.08, 58.74, -28.11)
CIE-LCHlch(36.08, 65.12, 334.43°)
OKLaboklab(47.41% 0.1725 -0.0768)
OKLCHoklch(47.41% 0.189 336)
XYZxyz(17.2748, 9.0501, 22.3054)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C83 #1C9730
analogous
#6D1C97 #971C83 #971C46
triadic
#971C83 #83971C #1C8397
tetradic
#971C83 #976D1C #1C9730 #1C4697
square
#971C83 #976D1C #1C9730 #1C4697
split-complementary
#971C83 #46971C #1C976D
monochromatic
#300929 #631256 #971C83 #CB26B0 #DE4FC7

Accessibility & contrast

On white

7.47
#971C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#971C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C83
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C83#FFFFFF#000000##FFFFFF
##971C831.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4986
Deuteranopia (green-blind)
#4C5B80
Tritanopia (blue-blind)
#9F274F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971c83;
/* rgb */ color: rgb(151, 28, 131);
/* oklch */ color: oklch(47.4% 0.189 336.0);
Tailwind
colors: {
  custom: {
    50: '#b969a7',
    500: '#971c83',
    950: '#000000',
  },
}
SCSS
$custom: #971c83;
$custom-light: #b969a7;
$custom-dark: #000000;
JSON
{
  "hex": "#971c83",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 309.756,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47413,
    "c": 0.18881,
    "h": 336
  },
  "luminance": 0.09049
}

Semantic roles & 50–950 ramp

primary
#971C83
secondary
#4EC161
accent
#EC593C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971C83

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

Preview Lab → · Contrast checker → · Palette generator →

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