#973BAC#973BAC

#973BAC is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.6% C 0.186 H 319.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#973BAC
RGBrgb(151, 59, 172)
HSLhsl(289, 49%, 45%)
HSVhsv(289, 66%, 67%)
CMYKcmyk(12.2%, 65.7%, 0%, 32.5%)
CIE-LABlab(42.29, 54.69, -43.13)
CIE-LCHlch(42.29, 69.65, 321.74°)
OKLaboklab(52.61% 0.142 -0.1205)
OKLCHoklch(52.61% 0.186 319.7)
XYZxyz(21.7719, 12.6868, 40.3237)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973BAC #50AC3B
analogous
#5F3BAC #973BAC #AC3B88
triadic
#973BAC #AC973B #3BAC97
tetradic
#973BAC #AC5F3B #50AC3B #3B88AC
square
#973BAC #AC5F3B #50AC3B #3B88AC
split-complementary
#973BAC #88AC3B #3BAC5F
monochromatic
#471C51 #6F2B7E #973BAC #B45DC7 #C98AD7

Accessibility & contrast

On white

5.94
#973BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#973BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973BAC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973BAC#FFFFFF#000000##FFFFFF
##973BAC1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175EAF
Deuteranopia (green-blind)
#4467A9
Tritanopia (blue-blind)
#974F6E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #973bac;
/* rgb */ color: rgb(151, 59, 172);
/* oklch */ color: oklch(52.6% 0.186 319.7);
Tailwind
colors: {
  custom: {
    50: '#b978c5',
    500: '#973bac',
    950: '#000000',
  },
}
SCSS
$custom: #973bac;
$custom-light: #b978c5;
$custom-dark: #000000;
JSON
{
  "hex": "#973bac",
  "rgb": {
    "r": 151,
    "g": 59,
    "b": 172
  },
  "hsl": {
    "h": 288.85,
    "s": 48.918,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52612,
    "c": 0.1863,
    "h": 319.7
  },
  "luminance": 0.12686
}

Semantic roles & 50–950 ramp

primary
#973BAC
secondary
#8DC181
accent
#D84F69
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #973BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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