#773E98#773E98

#773E98 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.6% C 0.148 H 311.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#773E98
RGBrgb(119, 62, 152)
HSLhsl(278, 42%, 42%)
HSVhsv(278, 59%, 60%)
CMYKcmyk(21.7%, 59.2%, 0%, 40.4%)
CIE-LABlab(37.18, 40.97, -39.56)
CIE-LCHlch(37.18, 56.95, 316.00°)
OKLaboklab(47.59% 0.0975 -0.1111)
OKLCHoklch(47.59% 0.148 311.3)
XYZxyz(14.9968, 9.6345, 30.7693)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#773E98 #5F983E
analogous
#4A3E98 #773E98 #983E8C
triadic
#773E98 #98773E #3E9877
tetradic
#773E98 #984A3E #5F983E #3E8C98
square
#773E98 #984A3E #5F983E #3E8C98
split-complementary
#773E98 #8C983E #3E984A
monochromatic
#331B41 #552C6D #773E98 #9758BB #B284CD

Accessibility & contrast

On white

7.18
#773E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#773E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #773E98
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##773E98#FFFFFF#000000##FFFFFF
##773E981.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559B
Deuteranopia (green-blind)
#375996
Tritanopia (blue-blind)
#734E65
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #773e98;
/* rgb */ color: rgb(119, 62, 152);
/* oklch */ color: oklch(47.6% 0.148 311.3);
Tailwind
colors: {
  custom: {
    50: '#a176b7',
    500: '#773e98',
    950: '#000000',
  },
}
SCSS
$custom: #773e98;
$custom-light: #a176b7;
$custom-dark: #000000;
JSON
{
  "hex": "#773e98",
  "rgb": {
    "r": 119,
    "g": 62,
    "b": 152
  },
  "hsl": {
    "h": 278,
    "s": 42.056,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47587,
    "c": 0.1478,
    "h": 311.3
  },
  "luminance": 0.09634
}

Semantic roles & 50–950 ramp

primary
#773E98
secondary
#91B77B
accent
#D25683
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #773E98

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

Preview Lab → · Contrast checker → · Palette generator →

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