#773E9B#773E9B

#773E9B is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.8% C 0.151 H 310.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#773E9B
RGBrgb(119, 62, 155)
HSLhsl(277, 43%, 43%)
HSVhsv(277, 60%, 61%)
CMYKcmyk(23.2%, 60%, 0%, 39.2%)
CIE-LABlab(37.36, 41.66, -41.08)
CIE-LCHlch(37.36, 58.51, 315.40°)
OKLaboklab(47.78% 0.0976 -0.1155)
OKLCHoklch(47.78% 0.151 310.2)
XYZxyz(15.2456, 9.7340, 32.0797)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#773E9B #629B3E
analogous
#483E9B #773E9B #9B3E91
triadic
#773E9B #9B773E #3E9B77
tetradic
#773E9B #9B483E #629B3E #3E919B
square
#773E9B #9B483E #629B3E #3E919B
split-complementary
#773E9B #919B3E #3E9B48
monochromatic
#341B44 #552D6F #773E9B #9659BD #B285CE

Accessibility & contrast

On white

7.13
#773E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#773E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #773E9B
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##773E9B#FFFFFF#000000##FFFFFF
##773E9B1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C559E
Deuteranopia (green-blind)
#345999
Tritanopia (blue-blind)
#724F66
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #773e9b;
/* rgb */ color: rgb(119, 62, 155);
/* oklch */ color: oklch(47.8% 0.151 310.2);
Tailwind
colors: {
  custom: {
    50: '#a176b9',
    500: '#773e9b',
    950: '#000000',
  },
}
SCSS
$custom: #773e9b;
$custom-light: #a176b9;
$custom-dark: #000000;
JSON
{
  "hex": "#773e9b",
  "rgb": {
    "r": 119,
    "g": 62,
    "b": 155
  },
  "hsl": {
    "h": 276.774,
    "s": 42.857,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47779,
    "c": 0.15121,
    "h": 310.2
  },
  "luminance": 0.09734
}

Semantic roles & 50–950 ramp

primary
#773E9B
secondary
#94B97C
accent
#D35586
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #773E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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