#773797#773797

#773797 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.5% C 0.157 H 312.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#773797
RGBrgb(119, 55, 151)
HSLhsl(280, 47%, 40%)
HSVhsv(280, 64%, 59%)
CMYKcmyk(21.2%, 63.6%, 0%, 40.8%)
CIE-LABlab(35.77, 44.38, -41.20)
CIE-LCHlch(35.77, 60.56, 317.13°)
OKLaboklab(46.54% 0.1066 -0.1159)
OKLCHoklch(46.54% 0.157 312.6)
XYZxyz(14.5589, 8.8891, 30.2210)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#773797 #579737
analogous
#473797 #773797 #973787
triadic
#773797 #977737 #379777
tetradic
#773797 #974737 #579737 #378797
square
#773797 #974737 #579737 #378797
split-complementary
#773797 #879737 #379747
monochromatic
#30163D #54276A #773797 #984DBE #B27ACF

Accessibility & contrast

On white

7.56
#773797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#773797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #773797
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##773797#FFFFFF#000000##FFFFFF
##7737971.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F519A
Deuteranopia (green-blind)
#305695
Tritanopia (blue-blind)
#744962
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #773797;
/* rgb */ color: rgb(119, 55, 151);
/* oklch */ color: oklch(46.5% 0.157 312.6);
Tailwind
colors: {
  custom: {
    50: '#a172b6',
    500: '#773797',
    950: '#000000',
  },
}
SCSS
$custom: #773797;
$custom-light: #a172b6;
$custom-dark: #000000;
JSON
{
  "hex": "#773797",
  "rgb": {
    "r": 119,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 280,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46542,
    "c": 0.15746,
    "h": 312.6
  },
  "luminance": 0.08889
}

Semantic roles & 50–950 ramp

primary
#773797
secondary
#89B872
accent
#D6527E
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #773797

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

Preview Lab → · Contrast checker → · Palette generator →

#773797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva