#973FC7#973FC7

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

Color values

HEX#973FC7
RGBrgb(151, 63, 199)
HSLhsl(279, 55%, 51%)
HSVhsv(279, 68%, 78%)
CMYKcmyk(24.1%, 68.3%, 0%, 22%)
CIE-LABlab(44.60, 58.49, -55.24)
CIE-LCHlch(44.60, 80.46, 316.64°)
OKLaboklab(54.81% 0.1361 -0.1561)
OKLCHoklch(54.81% 0.207 311.1)
XYZxyz(24.8469, 14.2584, 55.4650)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973FC7 #6FC73F
analogous
#533FC7 #973FC7 #C73FB3
triadic
#973FC7 #C7973F #3FC797
tetradic
#973FC7 #C7533F #6FC73F #3FB3C7
square
#973FC7 #C7533F #6FC73F #3FB3C7
split-complementary
#973FC7 #B3C73F #3FC753
monochromatic
#51206C #752D9B #973FC7 #B16ED5 #CA9EE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##973FC7#FFFFFF#000000##FFFFFF
##973FC71.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #973fc7;
/* rgb */ color: rgb(151, 63, 199);
/* oklch */ color: oklch(54.8% 0.207 311.1);
Tailwind
colors: {
  custom: {
    50: '#ba7bd9',
    500: '#973fc7',
    950: '#000000',
  },
}
SCSS
$custom: #973fc7;
$custom-light: #ba7bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#973fc7",
  "rgb": {
    "r": 151,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 278.824,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54813,
    "c": 0.20704,
    "h": 311.1
  },
  "luminance": 0.14258
}

Semantic roles & 50–950 ramp

primary
#973FC7
secondary
#A8CF93
accent
#DE4A7E
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #973FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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