#973C8D#973C8D

#973C8D is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.0% C 0.157 H 332.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#973C8D
RGBrgb(151, 60, 141)
HSLhsl(307, 43%, 41%)
HSVhsv(307, 60%, 59%)
CMYKcmyk(0%, 60.3%, 6.6%, 40.8%)
CIE-LABlab(40.79, 48.51, -26.87)
CIE-LCHlch(40.79, 55.45, 331.02°)
OKLaboklab(50.99% 0.1388 -0.0735)
OKLCHoklch(50.99% 0.157 332.1)
XYZxyz(19.1860, 11.7355, 26.4488)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973C8D #3C9746
analogous
#743C97 #973C8D #973C60
triadic
#973C8D #8D973C #3C8D97
tetradic
#973C8D #97743C #3C9746 #3C6097
square
#973C8D #97743C #3C9746 #3C6097
split-complementary
#973C8D #60973C #3C9774
monochromatic
#3F193B #6B2B64 #973C8D #BB55B0 #CD81C4

Accessibility & contrast

On white

6.27
#973C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#973C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973C8D
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973C8D#FFFFFF#000000##FFFFFF
##973C8D1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#55658B
Tritanopia (blue-blind)
#9D445F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #973c8d;
/* rgb */ color: rgb(151, 60, 141);
/* oklch */ color: oklch(51.0% 0.157 332.1);
Tailwind
colors: {
  custom: {
    50: '#b877ae',
    500: '#973c8d',
    950: '#000000',
  },
}
SCSS
$custom: #973c8d;
$custom-light: #b877ae;
$custom-dark: #000000;
JSON
{
  "hex": "#973c8d",
  "rgb": {
    "r": 151,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 306.593,
    "s": 43.128,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50988,
    "c": 0.15706,
    "h": 332.1
  },
  "luminance": 0.11734
}

Semantic roles & 50–950 ramp

primary
#973C8D
secondary
#78B77F
accent
#D36355
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #973C8D

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

Preview Lab → · Contrast checker → · Palette generator →

#973C8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva