#973EC5#973EC5

#973EC5 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.6% C 0.206 H 311.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#973EC5
RGBrgb(151, 62, 197)
HSLhsl(280, 54%, 51%)
HSVhsv(280, 69%, 77%)
CMYKcmyk(23.4%, 68.5%, 0%, 22.7%)
CIE-LABlab(44.31, 58.50, -54.55)
CIE-LCHlch(44.31, 79.99, 317.00°)
OKLaboklab(54.57% 0.1373 -0.154)
OKLCHoklch(54.57% 0.206 311.7)
XYZxyz(24.5613, 14.0564, 54.2318)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973EC5 #6CC53E
analogous
#533EC5 #973EC5 #C53EAF
triadic
#973EC5 #C5973E #3EC597
tetradic
#973EC5 #C5533E #6CC53E #3EAFC5
square
#973EC5 #C5533E #6CC53E #3EAFC5
split-complementary
#973EC5 #AFC53E #3EC553
monochromatic
#502069 #742E98 #973EC5 #B06DD3 #CA9CE1

Accessibility & contrast

On white

5.51
#973EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#973EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973EC5
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973EC5#FFFFFF#000000##FFFFFF
##973EC51.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#2E6AC2
Tritanopia (blue-blind)
#915A7D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #973ec5;
/* rgb */ color: rgb(151, 62, 197);
/* oklch */ color: oklch(54.6% 0.206 311.7);
Tailwind
colors: {
  custom: {
    50: '#ba7ad7',
    500: '#973ec5',
    950: '#000000',
  },
}
SCSS
$custom: #973ec5;
$custom-light: #ba7ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#973ec5",
  "rgb": {
    "r": 151,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 279.556,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54565,
    "c": 0.20633,
    "h": 311.7
  },
  "luminance": 0.14056
}

Semantic roles & 50–950 ramp

primary
#973EC5
secondary
#A6CD91
accent
#DD4B7D
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #973EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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