#973BB5#973BB5

#973BB5 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.2% C 0.195 H 316.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#973BB5
RGBrgb(151, 59, 181)
HSLhsl(285, 51%, 47%)
HSVhsv(285, 67%, 71%)
CMYKcmyk(16.6%, 67.4%, 0%, 29%)
CIE-LABlab(42.83, 56.48, -47.58)
CIE-LCHlch(42.83, 73.85, 319.89°)
OKLaboklab(53.18% 0.1418 -0.1336)
OKLCHoklch(53.18% 0.195 316.7)
XYZxyz(22.6657, 13.0443, 45.0310)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973BB5 #59B53B
analogous
#5A3BB5 #973BB5 #B53B96
triadic
#973BB5 #B5973B #3BB597
tetradic
#973BB5 #B55A3B #59B53B #3B96B5
square
#973BB5 #B55A3B #59B53B #3B96B5
split-complementary
#973BB5 #96B53B #3BB55A
monochromatic
#4A1D59 #702C87 #973BB5 #B262CC #C890DB

Accessibility & contrast

On white

5.82
#973BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#973BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973BB5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973BB5#FFFFFF#000000##FFFFFF
##973BB51.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB9
Deuteranopia (green-blind)
#3D68B2
Tritanopia (blue-blind)
#955273
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #973bb5;
/* rgb */ color: rgb(151, 59, 181);
/* oklch */ color: oklch(53.2% 0.195 316.7);
Tailwind
colors: {
  custom: {
    50: '#b978cc',
    500: '#973bb5',
    950: '#000000',
  },
}
SCSS
$custom: #973bb5;
$custom-light: #b978cc;
$custom-dark: #000000;
JSON
{
  "hex": "#973bb5",
  "rgb": {
    "r": 151,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 285.246,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53176,
    "c": 0.19477,
    "h": 316.7
  },
  "luminance": 0.13043
}

Semantic roles & 50–950 ramp

primary
#973BB5
secondary
#96C686
accent
#DA4D70
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120913
muted
#817B82

Preview Lab

Preview with #973BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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