#773AB4#773AB4

#773AB4 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.0% C 0.185 H 303.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#773AB4
RGBrgb(119, 58, 180)
HSLhsl(270, 51%, 47%)
HSVhsv(270, 68%, 71%)
CMYKcmyk(33.9%, 67.8%, 0%, 29.4%)
CIE-LABlab(38.28, 49.73, -54.55)
CIE-LCHlch(38.28, 73.81, 312.35°)
OKLaboklab(48.97% 0.1009 -0.155)
OKLCHoklch(48.97% 0.185 303.1)
XYZxyz(17.3571, 10.2433, 44.2339)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#773AB4 #77B43A
analogous
#3A3AB4 #773AB4 #B43AB4
triadic
#773AB4 #B4773A #3AB477
tetradic
#773AB4 #B43A3A #77B43A #3AB4B4
square
#773AB4 #B43A3A #77B43A #3AB4B4
split-complementary
#773AB4 #B4B43A #3AB43A
monochromatic
#3A1C57 #582B86 #773AB4 #9660CC #B48EDB

Accessibility & contrast

On white

6.89
#773AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#773AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #773AB4
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##773AB4#FFFFFF#000000##FFFFFF
##773AB41.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#005AB1
Tritanopia (blue-blind)
#6B5672
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #773ab4;
/* rgb */ color: rgb(119, 58, 180);
/* oklch */ color: oklch(49.0% 0.185 303.1);
Tailwind
colors: {
  custom: {
    50: '#a374cb',
    500: '#773ab4',
    950: '#000000',
  },
}
SCSS
$custom: #773ab4;
$custom-light: #a374cb;
$custom-dark: #000000;
JSON
{
  "hex": "#773ab4",
  "rgb": {
    "r": 119,
    "g": 58,
    "b": 180
  },
  "hsl": {
    "h": 270,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48972,
    "c": 0.185,
    "h": 303.1
  },
  "luminance": 0.10243
}

Semantic roles & 50–950 ramp

primary
#773AB4
secondary
#A5C585
accent
#DB4D94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #773AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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