#774EB3#774EB3

#774EB3 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.8% C 0.155 H 299.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#774EB3
RGBrgb(119, 78, 179)
HSLhsl(264, 40%, 50%)
HSVhsv(264, 56%, 70%)
CMYKcmyk(33.5%, 56.4%, 0%, 29.8%)
CIE-LABlab(42.19, 38.76, -47.65)
CIE-LCHlch(42.19, 61.42, 309.13°)
OKLaboklab(51.8% 0.0769 -0.1348)
OKLCHoklch(51.8% 0.155 299.7)
XYZxyz(18.4669, 12.6252, 44.1031)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774EB3 #8AB34E
analogous
#4E58B3 #774EB3 #A94EB3
triadic
#774EB3 #B3774E #4EB377
tetradic
#774EB3 #B34E58 #8AB34E #4EB3A9
square
#774EB3 #B34E58 #8AB34E #4EB3A9
split-complementary
#774EB3 #B3A94E #58B34E
monochromatic
#3E285E #5B3B89 #774EB3 #9879C5 #B9A4D8

Accessibility & contrast

On white

5.96
#774EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #774EB3
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774EB3#FFFFFF#000000##FFFFFF
##774EB31.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2263B6
Deuteranopia (green-blind)
#3163B1
Tritanopia (blue-blind)
#6A6279
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #774eb3;
/* rgb */ color: rgb(119, 78, 179);
/* oklch */ color: oklch(51.8% 0.155 299.7);
Tailwind
colors: {
  custom: {
    50: '#a281ca',
    500: '#774eb3',
    950: '#000000',
  },
}
SCSS
$custom: #774eb3;
$custom-light: #a281ca;
$custom-dark: #000000;
JSON
{
  "hex": "#774eb3",
  "rgb": {
    "r": 119,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 264.356,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51797,
    "c": 0.15525,
    "h": 299.7
  },
  "luminance": 0.12625
}

Semantic roles & 50–950 ramp

primary
#774EB3
secondary
#B3C598
accent
#D0589F
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #774EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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