#773A97#773A97

#773A97 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.0% C 0.153 H 312.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#773A97
RGBrgb(119, 58, 151)
HSLhsl(279, 44%, 41%)
HSVhsv(279, 62%, 59%)
CMYKcmyk(21.2%, 61.6%, 0%, 40.8%)
CIE-LABlab(36.33, 42.85, -40.30)
CIE-LCHlch(36.33, 58.82, 316.75°)
OKLaboklab(46.95% 0.1028 -0.1132)
OKLCHoklch(46.95% 0.153 312.2)
XYZxyz(14.7057, 9.1828, 30.2699)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#773A97 #5A973A
analogous
#483A97 #773A97 #973A88
triadic
#773A97 #97773A #3A9777
tetradic
#773A97 #97483A #5A973A #3A8897
square
#773A97 #97483A #5A973A #3A8897
split-complementary
#773A97 #88973A #3A9748
monochromatic
#31183F #54296B #773A97 #9852BC #B27ECD

Accessibility & contrast

On white

7.40
#773A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#773A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #773A97
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##773A97#FFFFFF#000000##FFFFFF
##773A971.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18529A
Deuteranopia (green-blind)
#335795
Tritanopia (blue-blind)
#734B63
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #773a97;
/* rgb */ color: rgb(119, 58, 151);
/* oklch */ color: oklch(47.0% 0.153 312.2);
Tailwind
colors: {
  custom: {
    50: '#a174b6',
    500: '#773a97',
    950: '#000000',
  },
}
SCSS
$custom: #773a97;
$custom-light: #a174b6;
$custom-dark: #000000;
JSON
{
  "hex": "#773a97",
  "rgb": {
    "r": 119,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 279.355,
    "s": 44.498,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46952,
    "c": 0.15292,
    "h": 312.2
  },
  "luminance": 0.09182
}

Semantic roles & 50–950 ramp

primary
#773A97
secondary
#8CB776
accent
#D45480
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #773A97

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

Preview Lab → · Contrast checker → · Palette generator →

#773A97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva