#973DC6#973DC6

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

Color values

HEX#973DC6
RGBrgb(151, 61, 198)
HSLhsl(279, 55%, 51%)
HSVhsv(279, 69%, 78%)
CMYKcmyk(23.7%, 69.2%, 0%, 22.4%)
CIE-LABlab(44.23, 59.15, -55.27)
CIE-LCHlch(44.23, 80.95, 316.94°)
OKLaboklab(54.52% 0.1383 -0.1561)
OKLCHoklch(54.52% 0.209 311.5)
XYZxyz(24.6224, 13.9946, 54.8193)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973DC6 #6CC63D
analogous
#523DC6 #973DC6 #C63DB0
triadic
#973DC6 #C6973D #3DC697
tetradic
#973DC6 #C6523D #6CC63D #3DB0C6
square
#973DC6 #C6523D #6CC63D #3DB0C6
split-complementary
#973DC6 #B0C63D #3DC652
monochromatic
#501F6A #742D99 #973DC6 #B06CD4 #CA9CE2

Accessibility & contrast

On white

5.53
#973DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #973DC6
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973DC6#FFFFFF#000000##FFFFFF
##973DC61.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #973dc6;
/* rgb */ color: rgb(151, 61, 198);
/* oklch */ color: oklch(54.5% 0.209 311.5);
Tailwind
colors: {
  custom: {
    50: '#ba7ad8',
    500: '#973dc6',
    950: '#000000',
  },
}
SCSS
$custom: #973dc6;
$custom-light: #ba7ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#973dc6",
  "rgb": {
    "r": 151,
    "g": 61,
    "b": 198
  },
  "hsl": {
    "h": 279.416,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54523,
    "c": 0.20855,
    "h": 311.5
  },
  "luminance": 0.13994
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #973DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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