#973AE2#973AE2

#973AE2 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.2% C 0.239 H 304.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#973AE2
RGBrgb(151, 58, 226)
HSLhsl(273, 74%, 56%)
HSVhsv(273, 74%, 89%)
CMYKcmyk(33.2%, 74.3%, 0%, 11.4%)
CIE-LABlab(45.77, 66.46, -68.85)
CIE-LCHlch(45.77, 95.69, 313.99°)
OKLaboklab(56.24% 0.1367 -0.196)
OKLCHoklch(56.24% 0.239 304.9)
XYZxyz(27.9999, 15.0966, 73.3756)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973AE2 #85E23A
analogous
#433AE2 #973AE2 #E23AD9
triadic
#973AE2 #E2973A #3AE297
tetradic
#973AE2 #E2433A #85E23A #3AD9E2
square
#973AE2 #E2433A #85E23A #3AD9E2
split-complementary
#973AE2 #D9E23A #3AE243
monochromatic
#57158D #781DC2 #973AE2 #B36FEA #CFA5F2

Accessibility & contrast

On white

5.22
#973AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#973AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973AE2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973AE2#FFFFFF#000000##FFFFFF
##973AE21.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE7
Deuteranopia (green-blind)
#006CDF
Tritanopia (blue-blind)
#89648C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #973ae2;
/* rgb */ color: rgb(151, 58, 226);
/* oklch */ color: oklch(56.2% 0.239 304.9);
Tailwind
colors: {
  custom: {
    50: '#bc79ec',
    500: '#973ae2',
    950: '#000000',
  },
}
SCSS
$custom: #973ae2;
$custom-light: #bc79ec;
$custom-dark: #000000;
JSON
{
  "hex": "#973ae2",
  "rgb": {
    "r": 151,
    "g": 58,
    "b": 226
  },
  "hsl": {
    "h": 273.214,
    "s": 74.336,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56238,
    "c": 0.23898,
    "h": 304.9
  },
  "luminance": 0.15096
}

Semantic roles & 50–950 ramp

primary
#973AE2
secondary
#B8DF99
accent
#F1378A
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #973AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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