#973DCC#973DCC

#973DCC is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.9% C 0.214 H 309.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#973DCC
RGBrgb(151, 61, 204)
HSLhsl(278, 58%, 52%)
HSVhsv(278, 70%, 80%)
CMYKcmyk(26%, 70.1%, 0%, 20%)
CIE-LABlab(44.63, 60.43, -58.09)
CIE-LCHlch(44.63, 83.82, 316.13°)
OKLaboklab(54.94% 0.1376 -0.1644)
OKLCHoklch(54.94% 0.214 309.9)
XYZxyz(25.3282, 14.2770, 58.5365)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973DCC #72CC3D
analogous
#503DCC #973DCC #CC3DBA
triadic
#973DCC #CC973D #3DCC97
tetradic
#973DCC #CC503D #72CC3D #3DBACC
square
#973DCC #CC503D #72CC3D #3DBACC
split-complementary
#973DCC #BACC3D #3DCC50
monochromatic
#521E71 #752AA1 #973DCC #B16DD9 #CB9EE5

Accessibility & contrast

On white

5.45
#973DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#973DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973DCC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973DCC#FFFFFF#000000##FFFFFF
##973DCC1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#226BC9
Tritanopia (blue-blind)
#905D80
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #973dcc;
/* rgb */ color: rgb(151, 61, 204);
/* oklch */ color: oklch(54.9% 0.214 309.9);
Tailwind
colors: {
  custom: {
    50: '#ba7adc',
    500: '#973dcc',
    950: '#000000',
  },
}
SCSS
$custom: #973dcc;
$custom-light: #ba7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#973dcc",
  "rgb": {
    "r": 151,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 277.762,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54938,
    "c": 0.21439,
    "h": 309.9
  },
  "luminance": 0.14276
}

Semantic roles & 50–950 ramp

primary
#973DCC
secondary
#AAD293
accent
#E24680
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #973DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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