#774EA6#774EA6

#774EA6 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.0% C 0.139 H 303.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#774EA6
RGBrgb(119, 78, 166)
HSLhsl(268, 36%, 48%)
HSVhsv(268, 53%, 65%)
CMYKcmyk(28.3%, 53%, 0%, 34.9%)
CIE-LABlab(41.41, 35.42, -41.21)
CIE-LCHlch(41.41, 54.34, 310.68°)
OKLaboklab(50.97% 0.0763 -0.116)
OKLCHoklch(50.97% 0.139 303.3)
XYZxyz(17.2135, 12.1239, 37.5023)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774EA6 #7DA64E
analogous
#4E51A6 #774EA6 #A34EA6
triadic
#774EA6 #A6774E #4EA677
tetradic
#774EA6 #A64E51 #7DA64E #4EA6A3
square
#774EA6 #A64E51 #7DA64E #4EA6A3
split-complementary
#774EA6 #A6A34E #51A64E
monochromatic
#3B2753 #593A7C #774EA6 #9674BE #B59DD1

Accessibility & contrast

On white

6.13
#774EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#774EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774EA6
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774EA6#FFFFFF#000000##FFFFFF
##774EA61.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3161A9
Deuteranopia (green-blind)
#3D62A4
Tritanopia (blue-blind)
#6F5E72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #774ea6;
/* rgb */ color: rgb(119, 78, 166);
/* oklch */ color: oklch(51.0% 0.139 303.3);
Tailwind
colors: {
  custom: {
    50: '#a181c1',
    500: '#774ea6',
    950: '#000000',
  },
}
SCSS
$custom: #774ea6;
$custom-light: #a181c1;
$custom-dark: #000000;
JSON
{
  "hex": "#774ea6",
  "rgb": {
    "r": 119,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 267.955,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50969,
    "c": 0.13883,
    "h": 303.3
  },
  "luminance": 0.12124
}

Semantic roles & 50–950 ramp

primary
#774EA6
secondary
#A9BE92
accent
#CC5C98
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #774EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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