#773897#773897

#773897 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.7% C 0.156 H 312.5°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#773897
RGBrgb(119, 56, 151)
HSLhsl(280, 46%, 41%)
HSVhsv(280, 63%, 59%)
CMYKcmyk(21.2%, 62.9%, 0%, 40.8%)
CIE-LABlab(35.96, 43.87, -40.91)
CIE-LCHlch(35.96, 59.98, 317.01°)
OKLaboklab(46.68% 0.1054 -0.115)
OKLCHoklch(46.68% 0.156 312.5)
XYZxyz(14.6068, 8.9850, 30.2370)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#773897 #589738
analogous
#473897 #773897 #973888
triadic
#773897 #977738 #389777
tetradic
#773897 #974738 #589738 #388897
square
#773897 #974738 #589738 #388897
split-complementary
#773897 #889738 #389747
monochromatic
#31173E #54276A #773897 #984FBE #B27BCE

Accessibility & contrast

On white

7.51
#773897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#773897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #773897
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##773897#FFFFFF#000000##FFFFFF
##7738971.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13519A
Deuteranopia (green-blind)
#315695
Tritanopia (blue-blind)
#744A62
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #773897;
/* rgb */ color: rgb(119, 56, 151);
/* oklch */ color: oklch(46.7% 0.156 312.5);
Tailwind
colors: {
  custom: {
    50: '#a172b6',
    500: '#773897',
    950: '#000000',
  },
}
SCSS
$custom: #773897;
$custom-light: #a172b6;
$custom-dark: #000000;
JSON
{
  "hex": "#773897",
  "rgb": {
    "r": 119,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 279.789,
    "s": 45.894,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46677,
    "c": 0.15597,
    "h": 312.5
  },
  "luminance": 0.08985
}

Semantic roles & 50–950 ramp

primary
#773897
secondary
#8AB773
accent
#D6527E
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #773897

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

Preview Lab → · Contrast checker → · Palette generator →

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