#774AB9#774AB9

#774AB9 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.6% C 0.169 H 299.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#774AB9
RGBrgb(119, 74, 185)
HSLhsl(264, 44%, 51%)
HSVhsv(264, 60%, 73%)
CMYKcmyk(35.7%, 60%, 0%, 27.5%)
CIE-LABlab(41.72, 42.57, -51.92)
CIE-LCHlch(41.72, 67.15, 309.35°)
OKLaboklab(51.58% 0.0819 -0.1474)
OKLCHoklch(51.58% 0.169 299.1)
XYZxyz(18.8113, 12.3221, 47.2769)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774AB9 #8CB94A
analogous
#4A54B9 #774AB9 #AE4AB9
triadic
#774AB9 #B9774A #4AB977
tetradic
#774AB9 #B94A54 #8CB94A #4AB9AE
square
#774AB9 #B94A54 #8CB94A #4AB9AE
split-complementary
#774AB9 #B9AE4A #54B94A
monochromatic
#3F2663 #5B378F #774AB9 #9876CA #B9A2DB

Accessibility & contrast

On white

6.06
#774AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#774AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774AB9
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774AB9#FFFFFF#000000##FFFFFF
##774AB91.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0362BD
Deuteranopia (green-blind)
#2261B7
Tritanopia (blue-blind)
#68627A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #774ab9;
/* rgb */ color: rgb(119, 74, 185);
/* oklch */ color: oklch(51.6% 0.169 299.1);
Tailwind
colors: {
  custom: {
    50: '#a27ecf',
    500: '#774ab9',
    950: '#000000',
  },
}
SCSS
$custom: #774ab9;
$custom-light: #a27ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#774ab9",
  "rgb": {
    "r": 119,
    "g": 74,
    "b": 185
  },
  "hsl": {
    "h": 264.324,
    "s": 44.223,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51576,
    "c": 0.16863,
    "h": 299.1
  },
  "luminance": 0.12322
}

Semantic roles & 50–950 ramp

primary
#774AB9
secondary
#B4C897
accent
#D454A0
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #774AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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