#774CA4#774CA4

#774CA4 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.5% C 0.140 H 304.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#774CA4
RGBrgb(119, 76, 164)
HSLhsl(269, 37%, 47%)
HSVhsv(269, 54%, 64%)
CMYKcmyk(27.4%, 53.7%, 0%, 35.7%)
CIE-LABlab(40.85, 36.07, -40.91)
CIE-LCHlch(40.85, 54.54, 311.40°)
OKLaboklab(50.52% 0.0789 -0.1151)
OKLCHoklch(50.52% 0.14 304.4)
XYZxyz(16.8916, 11.7712, 36.4970)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774CA4 #79A44C
analogous
#4C4DA4 #774CA4 #A34CA4
triadic
#774CA4 #A4774C #4CA477
tetradic
#774CA4 #A44C4D #79A44C #4CA4A3
square
#774CA4 #A44C4D #79A44C #4CA4A3
split-complementary
#774CA4 #A4A34C #4DA44C
monochromatic
#3A2550 #59397A #774CA4 #9670BD #B59AD0

Accessibility & contrast

On white

6.26
#774CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#774CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774CA4
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774CA4#FFFFFF#000000##FFFFFF
##774CA41.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5FA7
Deuteranopia (green-blind)
#3C60A2
Tritanopia (blue-blind)
#6F5C71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #774ca4;
/* rgb */ color: rgb(119, 76, 164);
/* oklch */ color: oklch(50.5% 0.140 304.4);
Tailwind
colors: {
  custom: {
    50: '#a17fbf',
    500: '#774ca4',
    950: '#000000',
  },
}
SCSS
$custom: #774ca4;
$custom-light: #a17fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#774ca4",
  "rgb": {
    "r": 119,
    "g": 76,
    "b": 164
  },
  "hsl": {
    "h": 269.318,
    "s": 36.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50516,
    "c": 0.13957,
    "h": 304.4
  },
  "luminance": 0.11771
}

Semantic roles & 50–950 ramp

primary
#774CA4
secondary
#A6BD8F
accent
#CD5B95
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #774CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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