#773B9A#773B9A

#773B9A is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.3% C 0.155 H 311.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#773B9A
RGBrgb(119, 59, 154)
HSLhsl(278, 45%, 42%)
HSVhsv(278, 62%, 60%)
CMYKcmyk(22.7%, 61.7%, 0%, 39.6%)
CIE-LABlab(36.71, 43.01, -41.51)
CIE-LCHlch(36.71, 59.78, 316.02°)
OKLaboklab(47.29% 0.1015 -0.1168)
OKLCHoklch(47.29% 0.155 311)
XYZxyz(15.0034, 9.3833, 31.5864)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#773B9A #5E9A3B
analogous
#483B9A #773B9A #9A3B8E
triadic
#773B9A #9A773B #3B9A77
tetradic
#773B9A #9A483B #5E9A3B #3B8E9A
square
#773B9A #9A483B #5E9A3B #3B8E9A
split-complementary
#773B9A #8E9A3B #3B9A48
monochromatic
#331942 #552A6E #773B9A #9755BE #B281CF

Accessibility & contrast

On white

7.30
#773B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#773B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #773B9A
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##773B9A#FFFFFF#000000##FFFFFF
##773B9A1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16539D
Deuteranopia (green-blind)
#325798
Tritanopia (blue-blind)
#734D65
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #773b9a;
/* rgb */ color: rgb(119, 59, 154);
/* oklch */ color: oklch(47.3% 0.155 311.0);
Tailwind
colors: {
  custom: {
    50: '#a174b8',
    500: '#773b9a',
    950: '#000000',
  },
}
SCSS
$custom: #773b9a;
$custom-light: #a174b8;
$custom-dark: #000000;
JSON
{
  "hex": "#773b9a",
  "rgb": {
    "r": 119,
    "g": 59,
    "b": 154
  },
  "hsl": {
    "h": 277.895,
    "s": 44.601,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47286,
    "c": 0.15472,
    "h": 311
  },
  "luminance": 0.09383
}

Semantic roles & 50–950 ramp

primary
#773B9A
secondary
#90B878
accent
#D45383
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #773B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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