#973AC8#973AC8

#973AC8 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.3% C 0.214 H 311.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#973AC8
RGBrgb(151, 58, 200)
HSLhsl(279, 56%, 51%)
HSVhsv(279, 71%, 78%)
CMYKcmyk(24.5%, 71%, 0%, 21.6%)
CIE-LABlab(43.91, 60.83, -56.94)
CIE-LCHlch(43.91, 83.32, 316.89°)
OKLaboklab(54.34% 0.1411 -0.161)
OKLCHoklch(54.34% 0.214 311.2)
XYZxyz(24.6989, 13.7762, 55.9903)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973AC8 #6BC83A
analogous
#503AC8 #973AC8 #C83AB2
triadic
#973AC8 #C8973A #3AC897
tetradic
#973AC8 #C8503A #6BC83A #3AB2C8
square
#973AC8 #C8503A #6BC83A #3AB2C8
split-complementary
#973AC8 #B2C83A #3AC850
monochromatic
#501E6A #742B9A #973AC8 #B06AD5 #CA9AE3

Accessibility & contrast

On white

5.59
#973AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#973AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973AC8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973AC8#FFFFFF#000000##FFFFFF
##973AC81.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#2569C5
Tritanopia (blue-blind)
#91597D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #973ac8;
/* rgb */ color: rgb(151, 58, 200);
/* oklch */ color: oklch(54.3% 0.214 311.2);
Tailwind
colors: {
  custom: {
    50: '#ba78d9',
    500: '#973ac8',
    950: '#000000',
  },
}
SCSS
$custom: #973ac8;
$custom-light: #ba78d9;
$custom-dark: #000000;
JSON
{
  "hex": "#973ac8",
  "rgb": {
    "r": 151,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 279.296,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54341,
    "c": 0.2141,
    "h": 311.2
  },
  "luminance": 0.13776
}

Semantic roles & 50–950 ramp

primary
#973AC8
secondary
#A5CE8F
accent
#E0487C
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #973AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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