#774DB6#774DB6

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

Color values

HEX#774DB6
RGBrgb(119, 77, 182)
HSLhsl(264, 42%, 51%)
HSVhsv(264, 58%, 71%)
CMYKcmyk(34.6%, 57.7%, 0%, 28.6%)
CIE-LABlab(42.16, 40.11, -49.45)
CIE-LCHlch(42.16, 63.68, 309.05°)
OKLaboklab(51.84% 0.0783 -0.1401)
OKLCHoklch(51.84% 0.161 299.2)
XYZxyz(18.7031, 12.6069, 45.6949)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774DB6 #8CB64D
analogous
#4D57B6 #774DB6 #AB4DB6
triadic
#774DB6 #B6774D #4DB677
tetradic
#774DB6 #B64D57 #8CB64D #4DB6AB
square
#774DB6 #B64D57 #8CB64D #4DB6AB
split-complementary
#774DB6 #B6AB4D #57B64D
monochromatic
#3F2861 #5B3A8C #774DB6 #9878C8 #B9A4DA

Accessibility & contrast

On white

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

On black

3.52
#774DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##774DB6#FFFFFF#000000##FFFFFF
##774DB61.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A63B9
Deuteranopia (green-blind)
#2C63B4
Tritanopia (blue-blind)
#69637A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #774db6;
/* rgb */ color: rgb(119, 77, 182);
/* oklch */ color: oklch(51.8% 0.161 299.2);
Tailwind
colors: {
  custom: {
    50: '#a280cc',
    500: '#774db6',
    950: '#000000',
  },
}
SCSS
$custom: #774db6;
$custom-light: #a280cc;
$custom-dark: #000000;
JSON
{
  "hex": "#774db6",
  "rgb": {
    "r": 119,
    "g": 77,
    "b": 182
  },
  "hsl": {
    "h": 264,
    "s": 41.833,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51837,
    "c": 0.16051,
    "h": 299.2
  },
  "luminance": 0.12607
}

Semantic roles & 50–950 ramp

primary
#774DB6
secondary
#B4C798
accent
#D256A0
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #774DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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