#773197#773197

#773197 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.8% C 0.166 H 313.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#773197
RGBrgb(119, 49, 151)
HSLhsl(281, 51%, 39%)
HSVhsv(281, 68%, 59%)
CMYKcmyk(21.2%, 67.5%, 0%, 40.8%)
CIE-LABlab(34.71, 47.31, -42.90)
CIE-LCHlch(34.71, 63.86, 317.79°)
OKLaboklab(45.78% 0.114 -0.1208)
OKLCHoklch(45.78% 0.166 313.3)
XYZxyz(14.2910, 8.3534, 30.1317)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#773197 #519731
analogous
#443197 #773197 #973184
triadic
#773197 #977731 #319777
tetradic
#773197 #974431 #519731 #318497
square
#773197 #974431 #519731 #318497
split-complementary
#773197 #849731 #319744
monochromatic
#2E133B #532269 #773197 #9A43C2 #B371D1

Accessibility & contrast

On white

7.86
#773197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#773197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #773197
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##773197#FFFFFF#000000##FFFFFF
##7731971.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#2A5395
Tritanopia (blue-blind)
#744560
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #773197;
/* rgb */ color: rgb(119, 49, 151);
/* oklch */ color: oklch(45.8% 0.166 313.3);
Tailwind
colors: {
  custom: {
    50: '#a16eb6',
    500: '#773197',
    950: '#000000',
  },
}
SCSS
$custom: #773197;
$custom-light: #a16eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#773197",
  "rgb": {
    "r": 119,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 281.176,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45776,
    "c": 0.16609,
    "h": 313.3
  },
  "luminance": 0.08353
}

Semantic roles & 50–950 ramp

primary
#773197
secondary
#83B96B
accent
#DA4D7A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #773197

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

Preview Lab → · Contrast checker → · Palette generator →

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