#774EA5#774EA5

#774EA5 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 50.9% C 0.138 H 303.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#774EA5
RGBrgb(119, 78, 165)
HSLhsl(268, 36%, 48%)
HSVhsv(268, 53%, 65%)
CMYKcmyk(27.9%, 52.7%, 0%, 35.3%)
CIE-LABlab(41.35, 35.17, -40.70)
CIE-LCHlch(41.35, 53.79, 310.83°)
OKLaboklab(50.91% 0.0763 -0.1145)
OKLCHoklch(50.91% 0.138 303.7)
XYZxyz(17.1222, 12.0874, 37.0211)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774EA5 #7CA54E
analogous
#4E51A5 #774EA5 #A24EA5
triadic
#774EA5 #A5774E #4EA577
tetradic
#774EA5 #A54E51 #7CA54E #4EA5A2
square
#774EA5 #A54E51 #7CA54E #4EA5A2
split-complementary
#774EA5 #A5A24E #51A54E
monochromatic
#3B2752 #593A7B #774EA5 #9673BD #B59DD1

Accessibility & contrast

On white

6.15
#774EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #774EA5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774EA5#FFFFFF#000000##FFFFFF
##774EA51.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #774ea5;
/* rgb */ color: rgb(119, 78, 165);
/* oklch */ color: oklch(50.9% 0.138 303.7);
Tailwind
colors: {
  custom: {
    50: '#a181c0',
    500: '#774ea5',
    950: '#000000',
  },
}
SCSS
$custom: #774ea5;
$custom-light: #a181c0;
$custom-dark: #000000;
JSON
{
  "hex": "#774ea5",
  "rgb": {
    "r": 119,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 268.276,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50908,
    "c": 0.13757,
    "h": 303.7
  },
  "luminance": 0.12087
}

Semantic roles & 50–950 ramp

primary
#774EA5
secondary
#A9BD91
accent
#CC5C97
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #774EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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