#973DC5#973DC5

#973DC5 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.5% C 0.208 H 311.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#973DC5
RGBrgb(151, 61, 197)
HSLhsl(280, 54%, 51%)
HSVhsv(280, 69%, 77%)
CMYKcmyk(23.4%, 69%, 0%, 22.7%)
CIE-LABlab(44.16, 58.93, -54.80)
CIE-LCHlch(44.16, 80.47, 317.08°)
OKLaboklab(54.46% 0.1384 -0.1547)
OKLCHoklch(54.46% 0.208 311.8)
XYZxyz(24.5074, 13.9487, 54.2139)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973DC5 #6BC53D
analogous
#533DC5 #973DC5 #C53DAF
triadic
#973DC5 #C5973D #3DC597
tetradic
#973DC5 #C5533D #6BC53D #3DAFC5
square
#973DC5 #C5533D #6BC53D #3DAFC5
split-complementary
#973DC5 #AFC53D #3DC553
monochromatic
#501F68 #742D98 #973DC5 #B06CD3 #CA9BE1

Accessibility & contrast

On white

5.54
#973DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#973DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973DC5
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973DC5#FFFFFF#000000##FFFFFF
##973DC51.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #973dc5;
/* rgb */ color: rgb(151, 61, 197);
/* oklch */ color: oklch(54.5% 0.208 311.8);
Tailwind
colors: {
  custom: {
    50: '#ba7ad7',
    500: '#973dc5',
    950: '#000000',
  },
}
SCSS
$custom: #973dc5;
$custom-light: #ba7ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#973dc5",
  "rgb": {
    "r": 151,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 279.706,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54455,
    "c": 0.20758,
    "h": 311.8
  },
  "luminance": 0.13948
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #973DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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