#773EA6#773EA6

#773EA6 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.5% C 0.164 H 306.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#773EA6
RGBrgb(119, 62, 166)
HSLhsl(273, 46%, 45%)
HSVhsv(273, 63%, 65%)
CMYKcmyk(28.3%, 62.7%, 0%, 34.9%)
CIE-LABlab(38.06, 44.28, -46.57)
CIE-LCHlch(38.06, 64.27, 313.56°)
OKLaboklab(48.51% 0.0974 -0.1316)
OKLCHoklch(48.51% 0.164 306.5)
XYZxyz(16.2118, 10.1205, 37.1684)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#773EA6 #6DA63E
analogous
#433EA6 #773EA6 #A63EA1
triadic
#773EA6 #A6773E #3EA677
tetradic
#773EA6 #A6433E #6DA63E #3EA1A6
square
#773EA6 #A6433E #6DA63E #3EA1A6
split-complementary
#773EA6 #A1A63E #3EA643
monochromatic
#371D4D #572D79 #773EA6 #955EC3 #B38BD4

Accessibility & contrast

On white

6.94
#773EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#773EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #773EA6
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##773EA6#FFFFFF#000000##FFFFFF
##773EA61.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0258A9
Deuteranopia (green-blind)
#295AA4
Tritanopia (blue-blind)
#6F536C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #773ea6;
/* rgb */ color: rgb(119, 62, 166);
/* oklch */ color: oklch(48.5% 0.164 306.5);
Tailwind
colors: {
  custom: {
    50: '#a276c1',
    500: '#773ea6',
    950: '#000000',
  },
}
SCSS
$custom: #773ea6;
$custom-light: #a276c1;
$custom-dark: #000000;
JSON
{
  "hex": "#773ea6",
  "rgb": {
    "r": 119,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 272.885,
    "s": 45.614,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4851,
    "c": 0.16376,
    "h": 306.5
  },
  "luminance": 0.1012
}

Semantic roles & 50–950 ramp

primary
#773EA6
secondary
#9DBE82
accent
#D5538E
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #773EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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