#973EB4#973EB4

#973EB4 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.5% C 0.190 H 316.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#973EB4
RGBrgb(151, 62, 180)
HSLhsl(285, 49%, 47%)
HSVhsv(285, 66%, 71%)
CMYKcmyk(16.1%, 65.6%, 0%, 29.4%)
CIE-LABlab(43.24, 54.96, -46.33)
CIE-LCHlch(43.24, 71.88, 319.87°)
OKLaboklab(53.45% 0.1384 -0.1299)
OKLCHoklch(53.45% 0.19 316.8)
XYZxyz(22.7221, 13.3207, 44.5454)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973EB4 #5BB43E
analogous
#5C3EB4 #973EB4 #B43E96
triadic
#973EB4 #B4973E #3EB497
tetradic
#973EB4 #B45C3E #5BB43E #3E96B4
square
#973EB4 #B45C3E #5BB43E #3E96B4
split-complementary
#973EB4 #96B43E #3EB45C
monochromatic
#4B1F59 #712E86 #973EB4 #B165CA #C893DA

Accessibility & contrast

On white

5.73
#973EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#973EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973EB4
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973EB4#FFFFFF#000000##FFFFFF
##973EB41.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E61B8
Deuteranopia (green-blind)
#4069B1
Tritanopia (blue-blind)
#965474
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #973eb4;
/* rgb */ color: rgb(151, 62, 180);
/* oklch */ color: oklch(53.5% 0.190 316.8);
Tailwind
colors: {
  custom: {
    50: '#b97acb',
    500: '#973eb4',
    950: '#000000',
  },
}
SCSS
$custom: #973eb4;
$custom-light: #b97acb;
$custom-dark: #000000;
JSON
{
  "hex": "#973eb4",
  "rgb": {
    "r": 151,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 285.254,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53454,
    "c": 0.18982,
    "h": 316.8
  },
  "luminance": 0.1332
}

Semantic roles & 50–950 ramp

primary
#973EB4
secondary
#98C589
accent
#D84F71
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #973EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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