#774EA4#774EA4

#774EA4 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 50.8% C 0.136 H 304.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#774EA4
RGBrgb(119, 78, 164)
HSLhsl(269, 36%, 47%)
HSVhsv(269, 52%, 64%)
CMYKcmyk(27.4%, 52.4%, 0%, 35.7%)
CIE-LABlab(41.30, 34.92, -40.20)
CIE-LCHlch(41.30, 53.25, 310.98°)
OKLaboklab(50.85% 0.0762 -0.113)
OKLCHoklch(50.85% 0.136 304)
XYZxyz(17.0315, 12.0511, 36.5436)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774EA4 #7BA44E
analogous
#4E50A4 #774EA4 #A24EA4
triadic
#774EA4 #A4774E #4EA477
tetradic
#774EA4 #A44E50 #7BA44E #4EA4A2
square
#774EA4 #A44E50 #7BA44E #4EA4A2
split-complementary
#774EA4 #A4A24E #50A44E
monochromatic
#3B2751 #593A7B #774EA4 #9673BC #B59CD0

Accessibility & contrast

On white

6.16
#774EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#774EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774EA4
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774EA4#FFFFFF#000000##FFFFFF
##774EA41.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3260A7
Deuteranopia (green-blind)
#3E61A2
Tritanopia (blue-blind)
#6F5E71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #774ea4;
/* rgb */ color: rgb(119, 78, 164);
/* oklch */ color: oklch(50.8% 0.136 304.0);
Tailwind
colors: {
  custom: {
    50: '#a181bf',
    500: '#774ea4',
    950: '#000000',
  },
}
SCSS
$custom: #774ea4;
$custom-light: #a181bf;
$custom-dark: #000000;
JSON
{
  "hex": "#774ea4",
  "rgb": {
    "r": 119,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 268.605,
    "s": 35.537,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50847,
    "c": 0.1363,
    "h": 304
  },
  "luminance": 0.12051
}

Semantic roles & 50–950 ramp

primary
#774EA4
secondary
#A8BD91
accent
#CC5C96
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #774EA4

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

Preview Lab → · Contrast checker → · Palette generator →

#774EA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva