#774EC5#774EC5

#774EC5 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.0% C 0.178 H 295.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#774EC5
RGBrgb(119, 78, 197)
HSLhsl(261, 51%, 54%)
HSVhsv(261, 60%, 77%)
CMYKcmyk(39.6%, 60.4%, 0%, 22.7%)
CIE-LABlab(43.36, 43.53, -56.28)
CIE-LCHlch(43.36, 71.15, 307.72°)
OKLaboklab(53.03% 0.0767 -0.1602)
OKLCHoklch(53.03% 0.178 295.6)
XYZxyz(20.4076, 13.4015, 54.3240)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774EC5 #9CC54E
analogous
#4E61C5 #774EC5 #B24EC5
triadic
#774EC5 #C5774E #4EC577
tetradic
#774EC5 #C54E61 #9CC54E #4EC5B2
square
#774EC5 #C54E61 #9CC54E #4EC5B2
split-complementary
#774EC5 #C5B24E #61C54E
monochromatic
#402673 #5A35A1 #774EC5 #9A7CD4 #BEAAE3

Accessibility & contrast

On white

5.71
#774EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#774EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774EC5
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774EC5#FFFFFF#000000##FFFFFF
##774EC51.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#1265C2
Tritanopia (blue-blind)
#636882
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #774ec5;
/* rgb */ color: rgb(119, 78, 197);
/* oklch */ color: oklch(53.0% 0.178 295.6);
Tailwind
colors: {
  custom: {
    50: '#a381d7',
    500: '#774ec5',
    950: '#000000',
  },
}
SCSS
$custom: #774ec5;
$custom-light: #a381d7;
$custom-dark: #000000;
JSON
{
  "hex": "#774ec5",
  "rgb": {
    "r": 119,
    "g": 78,
    "b": 197
  },
  "hsl": {
    "h": 260.672,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53028,
    "c": 0.17762,
    "h": 295.6
  },
  "luminance": 0.13402
}

Semantic roles & 50–950 ramp

primary
#774EC5
secondary
#BFD19E
accent
#DA4EAA
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #774EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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