#973BAB#973BAB

#973BAB is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.6% C 0.185 H 320.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#973BAB
RGBrgb(151, 59, 171)
HSLhsl(289, 49%, 45%)
HSVhsv(289, 65%, 67%)
CMYKcmyk(11.7%, 65.5%, 0%, 32.9%)
CIE-LABlab(42.23, 54.50, -42.63)
CIE-LCHlch(42.23, 69.19, 321.97°)
OKLaboklab(52.55% 0.1421 -0.1191)
OKLCHoklch(52.55% 0.185 320)
XYZxyz(21.6762, 12.6485, 39.8198)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973BAB #4FAB3B
analogous
#5F3BAB #973BAB #AB3B87
triadic
#973BAB #AB973B #3BAB97
tetradic
#973BAB #AB5F3B #4FAB3B #3B87AB
square
#973BAB #AB5F3B #4FAB3B #3B87AB
split-complementary
#973BAB #87AB3B #3BAB5F
monochromatic
#471C50 #6F2B7D #973BAB #B45CC7 #C98AD7

Accessibility & contrast

On white

5.95
#973BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#973BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973BAB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973BAB#FFFFFF#000000##FFFFFF
##973BAB1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195DAE
Deuteranopia (green-blind)
#4467A8
Tritanopia (blue-blind)
#984E6E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #973bab;
/* rgb */ color: rgb(151, 59, 171);
/* oklch */ color: oklch(52.6% 0.185 320.0);
Tailwind
colors: {
  custom: {
    50: '#b978c4',
    500: '#973bab',
    950: '#000000',
  },
}
SCSS
$custom: #973bab;
$custom-light: #b978c4;
$custom-dark: #000000;
JSON
{
  "hex": "#973bab",
  "rgb": {
    "r": 151,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 289.286,
    "s": 48.696,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52551,
    "c": 0.18537,
    "h": 320
  },
  "luminance": 0.12648
}

Semantic roles & 50–950 ramp

primary
#973BAB
secondary
#8CC181
accent
#D85068
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #973BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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