#973EC4#973EC4

#973EC4 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.5% C 0.205 H 312.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#973EC4
RGBrgb(151, 62, 196)
HSLhsl(280, 53%, 51%)
HSVhsv(280, 68%, 77%)
CMYKcmyk(23%, 68.4%, 0%, 23.1%)
CIE-LABlab(44.25, 58.29, -54.07)
CIE-LCHlch(44.25, 79.51, 317.15°)
OKLaboklab(54.5% 0.1374 -0.1526)
OKLCHoklch(54.5% 0.205 312)
XYZxyz(24.4471, 14.0107, 53.6304)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973EC4 #6BC43E
analogous
#543EC4 #973EC4 #C43EAE
triadic
#973EC4 #C4973E #3EC497
tetradic
#973EC4 #C4543E #6BC43E #3EAEC4
square
#973EC4 #C4543E #6BC43E #3EAEC4
split-complementary
#973EC4 #AEC43E #3EC454
monochromatic
#502068 #742E97 #973EC4 #B06DD2 #CA9CE1

Accessibility & contrast

On white

5.52
#973EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#973EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973EC4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973EC4#FFFFFF#000000##FFFFFF
##973EC41.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C8
Deuteranopia (green-blind)
#306AC1
Tritanopia (blue-blind)
#925A7C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #973ec4;
/* rgb */ color: rgb(151, 62, 196);
/* oklch */ color: oklch(54.5% 0.205 312.0);
Tailwind
colors: {
  custom: {
    50: '#ba7ad7',
    500: '#973ec4',
    950: '#000000',
  },
}
SCSS
$custom: #973ec4;
$custom-light: #ba7ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#973ec4",
  "rgb": {
    "r": 151,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 279.851,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54498,
    "c": 0.20536,
    "h": 312
  },
  "luminance": 0.1401
}

Semantic roles & 50–950 ramp

primary
#973EC4
secondary
#A5CD91
accent
#DD4B7C
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #973EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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