#774EB9#774EB9

#774EB9 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.2% C 0.163 H 298.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#774EB9
RGBrgb(119, 78, 185)
HSLhsl(263, 43%, 52%)
HSVhsv(263, 58%, 73%)
CMYKcmyk(35.7%, 57.8%, 0%, 27.5%)
CIE-LABlab(42.57, 40.33, -50.56)
CIE-LCHlch(42.57, 64.68, 308.58°)
OKLaboklab(52.2% 0.077 -0.1434)
OKLCHoklch(52.2% 0.163 298.2)
XYZxyz(19.0869, 12.8733, 47.3687)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774EB9 #90B94E
analogous
#4E5BB9 #774EB9 #AD4EB9
triadic
#774EB9 #B9774E #4EB977
tetradic
#774EB9 #B94E5B #90B94E #4EB9AD
square
#774EB9 #B94E5B #90B94E #4EB9AD
split-complementary
#774EB9 #B9AD4E #5BB94E
monochromatic
#3F2865 #5B3991 #774EB9 #997ACA #BAA6DC

Accessibility & contrast

On white

5.87
#774EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#774EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774EB9
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774EB9#FFFFFF#000000##FFFFFF
##774EB91.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1865BD
Deuteranopia (green-blind)
#2A63B7
Tritanopia (blue-blind)
#68647C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #774eb9;
/* rgb */ color: rgb(119, 78, 185);
/* oklch */ color: oklch(52.2% 0.163 298.2);
Tailwind
colors: {
  custom: {
    50: '#a281cf',
    500: '#774eb9',
    950: '#000000',
  },
}
SCSS
$custom: #774eb9;
$custom-light: #a281cf;
$custom-dark: #000000;
JSON
{
  "hex": "#774eb9",
  "rgb": {
    "r": 119,
    "g": 78,
    "b": 185
  },
  "hsl": {
    "h": 262.991,
    "s": 43.32,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52197,
    "c": 0.16276,
    "h": 298.2
  },
  "luminance": 0.12873
}

Semantic roles & 50–950 ramp

primary
#774EB9
secondary
#B7C99A
accent
#D355A3
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #774EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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