#973CB1#973CB1

#973CB1 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.0% C 0.190 H 317.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#973CB1
RGBrgb(151, 60, 177)
HSLhsl(287, 49%, 46%)
HSVhsv(287, 66%, 69%)
CMYKcmyk(14.7%, 66.1%, 0%, 30.6%)
CIE-LABlab(42.74, 55.24, -45.36)
CIE-LCHlch(42.74, 71.48, 320.61°)
OKLaboklab(53.04% 0.1408 -0.1271)
OKLCHoklch(53.04% 0.19 317.9)
XYZxyz(22.3131, 12.9863, 42.9177)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973CB1 #56B13C
analogous
#5D3CB1 #973CB1 #B13C91
triadic
#973CB1 #B1973C #3CB197
tetradic
#973CB1 #B15D3C #56B13C #3C91B1
square
#973CB1 #B15D3C #56B13C #3C91B1
split-complementary
#973CB1 #91B13C #3CB15D
monochromatic
#491D56 #702D83 #973CB1 #B261C9 #C88FD9

Accessibility & contrast

On white

5.84
#973CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#973CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973CB1
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973CB1#FFFFFF#000000##FFFFFF
##973CB11.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5FB4
Deuteranopia (green-blind)
#4168AE
Tritanopia (blue-blind)
#965171
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #973cb1;
/* rgb */ color: rgb(151, 60, 177);
/* oklch */ color: oklch(53.0% 0.190 317.9);
Tailwind
colors: {
  custom: {
    50: '#b978c9',
    500: '#973cb1',
    950: '#000000',
  },
}
SCSS
$custom: #973cb1;
$custom-light: #b978c9;
$custom-dark: #000000;
JSON
{
  "hex": "#973cb1",
  "rgb": {
    "r": 151,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 286.667,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53035,
    "c": 0.18965,
    "h": 317.9
  },
  "luminance": 0.12985
}

Semantic roles & 50–950 ramp

primary
#973CB1
secondary
#93C485
accent
#D94F6E
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #973CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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