#973EA7#973EA7

#973EA7 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.7% C 0.177 H 321.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#973EA7
RGBrgb(151, 62, 167)
HSLhsl(291, 46%, 45%)
HSVhsv(291, 63%, 65%)
CMYKcmyk(9.6%, 62.9%, 0%, 34.5%)
CIE-LABlab(42.48, 52.37, -39.85)
CIE-LCHlch(42.48, 65.81, 322.74°)
OKLaboklab(52.66% 0.1384 -0.111)
OKLCHoklch(52.66% 0.177 321.3)
XYZxyz(21.4594, 12.8156, 37.8950)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973EA7 #4EA73E
analogous
#623EA7 #973EA7 #A73E83
triadic
#973EA7 #A7973E #3EA797
tetradic
#973EA7 #A7623E #4EA73E #3E83A7
square
#973EA7 #A7623E #4EA73E #3E83A7
split-complementary
#973EA7 #83A73E #3EA762
monochromatic
#461D4E #6F2D7A #973EA7 #B45FC3 #C98BD4

Accessibility & contrast

On white

5.89
#973EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#973EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973EA7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973EA7#FFFFFF#000000##FFFFFF
##973EA71.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255EAA
Deuteranopia (green-blind)
#4968A4
Tritanopia (blue-blind)
#984F6D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #973ea7;
/* rgb */ color: rgb(151, 62, 167);
/* oklch */ color: oklch(52.7% 0.177 321.3);
Tailwind
colors: {
  custom: {
    50: '#b879c1',
    500: '#973ea7',
    950: '#000000',
  },
}
SCSS
$custom: #973ea7;
$custom-light: #b879c1;
$custom-dark: #000000;
JSON
{
  "hex": "#973ea7",
  "rgb": {
    "r": 151,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 290.857,
    "s": 45.852,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52661,
    "c": 0.17742,
    "h": 321.3
  },
  "luminance": 0.12815
}

Semantic roles & 50–950 ramp

primary
#973EA7
secondary
#8BBF82
accent
#D65266
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #973EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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