#773EA8#773EA8

#773EA8 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.6% C 0.166 H 305.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#773EA8
RGBrgb(119, 62, 168)
HSLhsl(272, 46%, 45%)
HSVhsv(272, 63%, 66%)
CMYKcmyk(29.2%, 63.1%, 0%, 34.1%)
CIE-LABlab(38.19, 44.77, -47.56)
CIE-LCHlch(38.19, 65.31, 313.27°)
OKLaboklab(48.65% 0.0973 -0.1345)
OKLCHoklch(48.65% 0.166 305.9)
XYZxyz(16.3967, 10.1945, 38.1421)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#773EA8 #6FA83E
analogous
#423EA8 #773EA8 #A83EA4
triadic
#773EA8 #A8773E #3EA877
tetradic
#773EA8 #A8423E #6FA83E #3EA4A8
square
#773EA8 #A8423E #6FA83E #3EA4A8
split-complementary
#773EA8 #A4A83E #3EA842
monochromatic
#381D4F #572E7B #773EA8 #955FC4 #B38CD5

Accessibility & contrast

On white

6.91
#773EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#773EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #773EA8
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##773EA8#FFFFFF#000000##FFFFFF
##773EA81.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#275AA6
Tritanopia (blue-blind)
#6F546D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #773ea8;
/* rgb */ color: rgb(119, 62, 168);
/* oklch */ color: oklch(48.6% 0.166 305.9);
Tailwind
colors: {
  custom: {
    50: '#a277c2',
    500: '#773ea8',
    950: '#000000',
  },
}
SCSS
$custom: #773ea8;
$custom-light: #a277c2;
$custom-dark: #000000;
JSON
{
  "hex": "#773ea8",
  "rgb": {
    "r": 119,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 272.264,
    "s": 46.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48647,
    "c": 0.16603,
    "h": 305.9
  },
  "luminance": 0.10194
}

Semantic roles & 50–950 ramp

primary
#773EA8
secondary
#9FBF83
accent
#D6528F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #773EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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