#774EC4#774EC4

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

Color values

HEX#774EC4
RGBrgb(119, 78, 196)
HSLhsl(261, 50%, 54%)
HSVhsv(261, 60%, 77%)
CMYKcmyk(39.3%, 60.2%, 0%, 23.1%)
CIE-LABlab(43.29, 43.26, -55.81)
CIE-LCHlch(43.29, 70.61, 307.78°)
OKLaboklab(52.96% 0.0768 -0.1588)
OKLCHoklch(52.96% 0.176 295.8)
XYZxyz(20.2934, 13.3558, 53.7226)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774EC4 #9BC44E
analogous
#4E60C4 #774EC4 #B24EC4
triadic
#774EC4 #C4774E #4EC477
tetradic
#774EC4 #C44E60 #9BC44E #4EC4B2
square
#774EC4 #C44E60 #9BC44E #4EC4B2
split-complementary
#774EC4 #C4B24E #60C44E
monochromatic
#402672 #5A35A0 #774EC4 #9A7CD3 #BEAAE3

Accessibility & contrast

On white

5.72
#774EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#774EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774EC4
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774EC4#FFFFFF#000000##FFFFFF
##774EC41.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#1565C1
Tritanopia (blue-blind)
#646881
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #774ec4;
/* rgb */ color: rgb(119, 78, 196);
/* oklch */ color: oklch(53.0% 0.176 295.8);
Tailwind
colors: {
  custom: {
    50: '#a381d7',
    500: '#774ec4',
    950: '#000000',
  },
}
SCSS
$custom: #774ec4;
$custom-light: #a381d7;
$custom-dark: #000000;
JSON
{
  "hex": "#774ec4",
  "rgb": {
    "r": 119,
    "g": 78,
    "b": 196
  },
  "hsl": {
    "h": 260.847,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52957,
    "c": 0.17639,
    "h": 295.8
  },
  "luminance": 0.13356
}

Semantic roles & 50–950 ramp

primary
#774EC4
secondary
#BFD09E
accent
#DA4EA9
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #774EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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