#973EC6#973EC6

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

Color values

HEX#973EC6
RGBrgb(151, 62, 198)
HSLhsl(279, 54%, 51%)
HSVhsv(279, 69%, 78%)
CMYKcmyk(23.7%, 68.7%, 0%, 22.4%)
CIE-LABlab(44.38, 58.71, -55.02)
CIE-LCHlch(44.38, 80.47, 316.86°)
OKLaboklab(54.63% 0.1372 -0.1554)
OKLCHoklch(54.63% 0.207 311.4)
XYZxyz(24.6763, 14.1024, 54.8373)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973EC6 #6DC63E
analogous
#533EC6 #973EC6 #C63EB1
triadic
#973EC6 #C6973E #3EC697
tetradic
#973EC6 #C6533E #6DC63E #3EB1C6
square
#973EC6 #C6533E #6DC63E #3EB1C6
split-complementary
#973EC6 #B1C63E #3EC653
monochromatic
#501F6A #742D99 #973EC6 #B06DD4 #CA9CE2

Accessibility & contrast

On white

5.50
#973EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#973EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973EC6
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973EC6#FFFFFF#000000##FFFFFF
##973EC61.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#2D6BC3
Tritanopia (blue-blind)
#915B7D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #973ec6;
/* rgb */ color: rgb(151, 62, 198);
/* oklch */ color: oklch(54.6% 0.207 311.4);
Tailwind
colors: {
  custom: {
    50: '#ba7ad8',
    500: '#973ec6',
    950: '#000000',
  },
}
SCSS
$custom: #973ec6;
$custom-light: #ba7ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#973ec6",
  "rgb": {
    "r": 151,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 279.265,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54633,
    "c": 0.20731,
    "h": 311.4
  },
  "luminance": 0.14102
}

Semantic roles & 50–950 ramp

primary
#973EC6
secondary
#A7CE92
accent
#DE4A7D
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #973EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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