#973EA5#973EA5

#973EA5 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.5% C 0.176 H 322.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#973EA5
RGBrgb(151, 62, 165)
HSLhsl(292, 45%, 45%)
HSVhsv(292, 62%, 65%)
CMYKcmyk(8.5%, 62.4%, 0%, 35.3%)
CIE-LABlab(42.37, 51.98, -38.83)
CIE-LCHlch(42.37, 64.89, 323.24°)
OKLaboklab(52.54% 0.1383 -0.108)
OKLCHoklch(52.54% 0.176 322)
XYZxyz(21.2759, 12.7423, 36.9288)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973EA5 #4CA53E
analogous
#643EA5 #973EA5 #A53E7F
triadic
#973EA5 #A5973E #3EA597
tetradic
#973EA5 #A5643E #4CA53E #3E7FA5
square
#973EA5 #A5643E #4CA53E #3E7FA5
split-complementary
#973EA5 #7FA53E #3EA564
monochromatic
#461D4C #6E2D79 #973EA5 #B55EC2 #C98AD3

Accessibility & contrast

On white

5.92
#973EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#973EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973EA5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973EA5#FFFFFF#000000##FFFFFF
##973EA51.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275DA8
Deuteranopia (green-blind)
#4A67A2
Tritanopia (blue-blind)
#994E6C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #973ea5;
/* rgb */ color: rgb(151, 62, 165);
/* oklch */ color: oklch(52.5% 0.176 322.0);
Tailwind
colors: {
  custom: {
    50: '#b879c0',
    500: '#973ea5',
    950: '#000000',
  },
}
SCSS
$custom: #973ea5;
$custom-light: #b879c0;
$custom-dark: #000000;
JSON
{
  "hex": "#973ea5",
  "rgb": {
    "r": 151,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 291.845,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52544,
    "c": 0.17554,
    "h": 322
  },
  "luminance": 0.12741
}

Semantic roles & 50–950 ramp

primary
#973EA5
secondary
#89BE81
accent
#D55364
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #973EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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