#973EC8#973EC8

#973EC8 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.8% C 0.209 H 310.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#973EC8
RGBrgb(151, 62, 200)
HSLhsl(279, 56%, 51%)
HSVhsv(279, 69%, 78%)
CMYKcmyk(24.5%, 69%, 0%, 21.6%)
CIE-LABlab(44.51, 59.14, -55.97)
CIE-LCHlch(44.51, 81.43, 316.58°)
OKLaboklab(54.77% 0.137 -0.1582)
OKLCHoklch(54.77% 0.209 310.9)
XYZxyz(24.9085, 14.1953, 56.0602)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973EC8 #6FC83E
analogous
#523EC8 #973EC8 #C83EB4
triadic
#973EC8 #C8973E #3EC897
tetradic
#973EC8 #C8523E #6FC83E #3EB4C8
square
#973EC8 #C8523E #6FC83E #3EB4C8
split-complementary
#973EC8 #B4C83E #3EC852
monochromatic
#511F6D #752D9C #973EC8 #B16ED6 #CA9DE3

Accessibility & contrast

On white

5.47
#973EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#973EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973EC8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973EC8#FFFFFF#000000##FFFFFF
##973EC81.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#2A6BC5
Tritanopia (blue-blind)
#915C7E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #973ec8;
/* rgb */ color: rgb(151, 62, 200);
/* oklch */ color: oklch(54.8% 0.209 310.9);
Tailwind
colors: {
  custom: {
    50: '#ba7ad9',
    500: '#973ec8',
    950: '#000000',
  },
}
SCSS
$custom: #973ec8;
$custom-light: #ba7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#973ec8",
  "rgb": {
    "r": 151,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 278.696,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5477,
    "c": 0.20927,
    "h": 310.9
  },
  "luminance": 0.14195
}

Semantic roles & 50–950 ramp

primary
#973EC8
secondary
#A8CF92
accent
#DF497E
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #973EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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