#973AA2#973AA2

#973AA2 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.9% C 0.178 H 323.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#973AA2
RGBrgb(151, 58, 162)
HSLhsl(294, 47%, 43%)
HSVhsv(294, 64%, 64%)
CMYKcmyk(6.8%, 64.2%, 0%, 36.5%)
CIE-LABlab(41.56, 53.21, -38.34)
CIE-LCHlch(41.56, 65.58, 324.22°)
OKLaboklab(51.9% 0.1431 -0.1066)
OKLCHoklch(51.9% 0.178 323.3)
XYZxyz(20.7965, 12.2152, 35.4378)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973AA2 #45A23A
analogous
#633AA2 #973AA2 #A23A79
triadic
#973AA2 #A2973A #3AA297
tetradic
#973AA2 #A2633A #45A23A #3A79A2
square
#973AA2 #A2633A #45A23A #3A79A2
split-complementary
#973AA2 #79A23A #3AA263
monochromatic
#431A48 #6D2A75 #973AA2 #B757C3 #CA84D3

Accessibility & contrast

On white

6.10
#973AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#973AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973AA2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973AA2#FFFFFF#000000##FFFFFF
##973AA21.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245BA5
Deuteranopia (green-blind)
#4A669F
Tritanopia (blue-blind)
#994A69
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #973aa2;
/* rgb */ color: rgb(151, 58, 162);
/* oklch */ color: oklch(51.9% 0.178 323.3);
Tailwind
colors: {
  custom: {
    50: '#b977be',
    500: '#973aa2',
    950: '#000000',
  },
}
SCSS
$custom: #973aa2;
$custom-light: #b977be;
$custom-dark: #000000;
JSON
{
  "hex": "#973aa2",
  "rgb": {
    "r": 151,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 293.654,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51898,
    "c": 0.17846,
    "h": 323.3
  },
  "luminance": 0.12214
}

Semantic roles & 50–950 ramp

primary
#973AA2
secondary
#82BD7B
accent
#D7515F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #973AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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