#773F97#773F97

#773F97 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.7% C 0.145 H 311.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#773F97
RGBrgb(119, 63, 151)
HSLhsl(278, 41%, 42%)
HSVhsv(278, 58%, 59%)
CMYKcmyk(21.2%, 58.3%, 0%, 40.8%)
CIE-LABlab(37.32, 40.20, -38.73)
CIE-LCHlch(37.32, 55.82, 316.07°)
OKLaboklab(47.67% 0.0961 -0.1087)
OKLCHoklch(47.67% 0.145 311.5)
XYZxyz(14.9702, 9.7117, 30.3581)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#773F97 #5F973F
analogous
#4B3F97 #773F97 #973F8B
triadic
#773F97 #97773F #3F9777
tetradic
#773F97 #974B3F #5F973F #3F8B97
square
#773F97 #974B3F #5F973F #3F8B97
split-complementary
#773F97 #8B973F #3F974B
monochromatic
#331B41 #552D6C #773F97 #9759BA #B285CC

Accessibility & contrast

On white

7.14
#773F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#773F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #773F97
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##773F97#FFFFFF#000000##FFFFFF
##773F971.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#385995
Tritanopia (blue-blind)
#734F65
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #773f97;
/* rgb */ color: rgb(119, 63, 151);
/* oklch */ color: oklch(47.7% 0.145 311.5);
Tailwind
colors: {
  custom: {
    50: '#a177b6',
    500: '#773f97',
    950: '#000000',
  },
}
SCSS
$custom: #773f97;
$custom-light: #a177b6;
$custom-dark: #000000;
JSON
{
  "hex": "#773f97",
  "rgb": {
    "r": 119,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 278.182,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47671,
    "c": 0.14507,
    "h": 311.5
  },
  "luminance": 0.09711
}

Semantic roles & 50–950 ramp

primary
#773F97
secondary
#91B67C
accent
#D15783
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #773F97

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

Preview Lab → · Contrast checker → · Palette generator →

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