#973EC9#973EC9

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

Color values

HEX#973EC9
RGBrgb(151, 62, 201)
HSLhsl(278, 56%, 52%)
HSVhsv(278, 69%, 79%)
CMYKcmyk(24.9%, 69.2%, 0%, 21.2%)
CIE-LABlab(44.58, 59.36, -56.44)
CIE-LCHlch(44.58, 81.91, 316.44°)
OKLaboklab(54.84% 0.1369 -0.1596)
OKLCHoklch(54.84% 0.21 310.6)
XYZxyz(25.0257, 14.2422, 56.6777)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973EC9 #70C93E
analogous
#523EC9 #973EC9 #C93EB6
triadic
#973EC9 #C9973E #3EC997
tetradic
#973EC9 #C9523E #70C93E #3EB6C9
square
#973EC9 #C9523E #70C93E #3EB6C9
split-complementary
#973EC9 #B6C93E #3EC952
monochromatic
#511F6E #752C9E #973EC9 #B16ED6 #CB9EE4

Accessibility & contrast

On white

5.46
#973EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#973EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973EC9
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973EC9#FFFFFF#000000##FFFFFF
##973EC91.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#296BC6
Tritanopia (blue-blind)
#905C7F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #973ec9;
/* rgb */ color: rgb(151, 62, 201);
/* oklch */ color: oklch(54.8% 0.210 310.6);
Tailwind
colors: {
  custom: {
    50: '#ba7ada',
    500: '#973ec9',
    950: '#000000',
  },
}
SCSS
$custom: #973ec9;
$custom-light: #ba7ada;
$custom-dark: #000000;
JSON
{
  "hex": "#973ec9",
  "rgb": {
    "r": 151,
    "g": 62,
    "b": 201
  },
  "hsl": {
    "h": 278.417,
    "s": 56.275,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54838,
    "c": 0.21024,
    "h": 310.6
  },
  "luminance": 0.14242
}

Semantic roles & 50–950 ramp

primary
#973EC9
secondary
#A9D093
accent
#E0487F
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #973EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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