#973BB7#973BB7

#973BB7 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.3% C 0.197 H 316.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#973BB7
RGBrgb(151, 59, 183)
HSLhsl(285, 51%, 47%)
HSVhsv(285, 68%, 72%)
CMYKcmyk(17.5%, 67.8%, 0%, 28.2%)
CIE-LABlab(42.95, 56.89, -48.56)
CIE-LCHlch(42.95, 74.79, 319.52°)
OKLaboklab(53.31% 0.1417 -0.1364)
OKLCHoklch(53.31% 0.197 316.1)
XYZxyz(22.8724, 13.1270, 46.1195)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973BB7 #5BB73B
analogous
#593BB7 #973BB7 #B73B99
triadic
#973BB7 #B7973B #3BB797
tetradic
#973BB7 #B7593B #5BB73B #3B99B7
square
#973BB7 #B7593B #5BB73B #3B99B7
split-complementary
#973BB7 #99B73B #3BB759
monochromatic
#4B1D5A #712C89 #973BB7 #B163CD #C891DC

Accessibility & contrast

On white

5.79
#973BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#973BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973BB7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973BB7#FFFFFF#000000##FFFFFF
##973BB71.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#3B68B4
Tritanopia (blue-blind)
#955374
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #973bb7;
/* rgb */ color: rgb(151, 59, 183);
/* oklch */ color: oklch(53.3% 0.197 316.1);
Tailwind
colors: {
  custom: {
    50: '#b978cd',
    500: '#973bb7',
    950: '#000000',
  },
}
SCSS
$custom: #973bb7;
$custom-light: #b978cd;
$custom-dark: #000000;
JSON
{
  "hex": "#973bb7",
  "rgb": {
    "r": 151,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 284.516,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53305,
    "c": 0.19667,
    "h": 316.1
  },
  "luminance": 0.13126
}

Semantic roles & 50–950 ramp

primary
#973BB7
secondary
#98C687
accent
#DB4D72
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120913
muted
#817B82

Preview Lab

Preview with #973BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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