#773EA2#773EA2

#773EA2 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.2% C 0.159 H 307.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#773EA2
RGBrgb(119, 62, 162)
HSLhsl(274, 45%, 44%)
HSVhsv(274, 62%, 64%)
CMYKcmyk(26.5%, 61.7%, 0%, 36.5%)
CIE-LABlab(37.80, 43.32, -44.59)
CIE-LCHlch(37.80, 62.17, 314.17°)
OKLaboklab(48.24% 0.0975 -0.1258)
OKLCHoklch(48.24% 0.159 307.8)
XYZxyz(15.8506, 9.9760, 35.2660)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#773EA2 #69A23E
analogous
#453EA2 #773EA2 #A23E9B
triadic
#773EA2 #A2773E #3EA277
tetradic
#773EA2 #A2453E #69A23E #3E9BA2
square
#773EA2 #A2453E #69A23E #3E9BA2
split-complementary
#773EA2 #9BA23E #3EA245
monochromatic
#361C49 #562D76 #773EA2 #965CC1 #B289D2

Accessibility & contrast

On white

7.01
#773EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#773EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #773EA2
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##773EA2#FFFFFF#000000##FFFFFF
##773EA21.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F57A5
Deuteranopia (green-blind)
#2E5AA0
Tritanopia (blue-blind)
#70526A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #773ea2;
/* rgb */ color: rgb(119, 62, 162);
/* oklch */ color: oklch(48.2% 0.159 307.8);
Tailwind
colors: {
  custom: {
    50: '#a176be',
    500: '#773ea2',
    950: '#000000',
  },
}
SCSS
$custom: #773ea2;
$custom-light: #a176be;
$custom-dark: #000000;
JSON
{
  "hex": "#773ea2",
  "rgb": {
    "r": 119,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 274.2,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48239,
    "c": 0.15919,
    "h": 307.8
  },
  "luminance": 0.09976
}

Semantic roles & 50–950 ramp

primary
#773EA2
secondary
#9ABC80
accent
#D4538B
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #773EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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