#774EB4#774EB4

#774EB4 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.9% C 0.157 H 299.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#774EB4
RGBrgb(119, 78, 180)
HSLhsl(264, 40%, 51%)
HSVhsv(264, 57%, 71%)
CMYKcmyk(33.9%, 56.7%, 0%, 29.4%)
CIE-LABlab(42.26, 39.02, -48.13)
CIE-LCHlch(42.26, 61.96, 309.03°)
OKLaboklab(51.86% 0.077 -0.1363)
OKLCHoklch(51.86% 0.157 299.5)
XYZxyz(18.5684, 12.6658, 44.6377)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774EB4 #8BB44E
analogous
#4E58B4 #774EB4 #AA4EB4
triadic
#774EB4 #B4774E #4EB477
tetradic
#774EB4 #B44E58 #8BB44E #4EB4AA
square
#774EB4 #B44E58 #8BB44E #4EB4AA
split-complementary
#774EB4 #B4AA4E #58B44E
monochromatic
#3E285F #5B3B8A #774EB4 #9879C6 #B9A4D8

Accessibility & contrast

On white

5.94
#774EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#774EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774EB4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774EB4#FFFFFF#000000##FFFFFF
##774EB41.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2064B7
Deuteranopia (green-blind)
#3063B2
Tritanopia (blue-blind)
#6A6379
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #774eb4;
/* rgb */ color: rgb(119, 78, 180);
/* oklch */ color: oklch(51.9% 0.157 299.5);
Tailwind
colors: {
  custom: {
    50: '#a281cb',
    500: '#774eb4',
    950: '#000000',
  },
}
SCSS
$custom: #774eb4;
$custom-light: #a281cb;
$custom-dark: #000000;
JSON
{
  "hex": "#774eb4",
  "rgb": {
    "r": 119,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 264.118,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51863,
    "c": 0.1565,
    "h": 299.5
  },
  "luminance": 0.12666
}

Semantic roles & 50–950 ramp

primary
#774EB4
secondary
#B3C698
accent
#D057A0
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #774EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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