#773EA4#773EA4

#773EA4 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.4% C 0.161 H 307.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#773EA4
RGBrgb(119, 62, 164)
HSLhsl(274, 45%, 44%)
HSVhsv(274, 62%, 64%)
CMYKcmyk(27.4%, 62.2%, 0%, 35.7%)
CIE-LABlab(37.93, 43.80, -45.59)
CIE-LCHlch(37.93, 63.22, 313.86°)
OKLaboklab(48.37% 0.0975 -0.1287)
OKLCHoklch(48.37% 0.161 307.1)
XYZxyz(16.0298, 10.0477, 36.2097)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#773EA4 #6BA43E
analogous
#443EA4 #773EA4 #A43E9E
triadic
#773EA4 #A4773E #3EA477
tetradic
#773EA4 #A4443E #6BA43E #3E9EA4
square
#773EA4 #A4443E #6BA43E #3E9EA4
split-complementary
#773EA4 #9EA43E #3EA444
monochromatic
#371C4B #572D78 #773EA4 #965DC2 #B28AD3

Accessibility & contrast

On white

6.98
#773EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#773EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #773EA4
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##773EA4#FFFFFF#000000##FFFFFF
##773EA41.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0957A7
Deuteranopia (green-blind)
#2B5AA2
Tritanopia (blue-blind)
#70526B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #773ea4;
/* rgb */ color: rgb(119, 62, 164);
/* oklch */ color: oklch(48.4% 0.161 307.1);
Tailwind
colors: {
  custom: {
    50: '#a276bf',
    500: '#773ea4',
    950: '#000000',
  },
}
SCSS
$custom: #773ea4;
$custom-light: #a276bf;
$custom-dark: #000000;
JSON
{
  "hex": "#773ea4",
  "rgb": {
    "r": 119,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 273.529,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48374,
    "c": 0.16148,
    "h": 307.1
  },
  "luminance": 0.10048
}

Semantic roles & 50–950 ramp

primary
#773EA4
secondary
#9BBD81
accent
#D5538C
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #773EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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