#774AB2#774AB2

#774AB2 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.1% C 0.160 H 300.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#774AB2
RGBrgb(119, 74, 178)
HSLhsl(266, 41%, 49%)
HSVhsv(266, 58%, 70%)
CMYKcmyk(33.1%, 58.4%, 0%, 30.2%)
CIE-LABlab(41.27, 40.76, -48.54)
CIE-LCHlch(41.27, 63.38, 310.02°)
OKLaboklab(51.1% 0.082 -0.1374)
OKLCHoklch(51.1% 0.16 300.8)
XYZxyz(18.0905, 12.0338, 43.4805)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774AB2 #85B24A
analogous
#4A51B2 #774AB2 #AB4AB2
triadic
#774AB2 #B2774A #4AB277
tetradic
#774AB2 #B24A51 #85B24A #4AB2AB
square
#774AB2 #B24A51 #85B24A #4AB2AB
split-complementary
#774AB2 #B2AB4A #51B24A
monochromatic
#3D265C #5A3887 #774AB2 #9774C5 #B79FD7

Accessibility & contrast

On white

6.16
#774AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#774AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774AB2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774AB2#FFFFFF#000000##FFFFFF
##774AB21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1861B5
Deuteranopia (green-blind)
#2C61B0
Tritanopia (blue-blind)
#6B5F77
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #774ab2;
/* rgb */ color: rgb(119, 74, 178);
/* oklch */ color: oklch(51.1% 0.160 300.8);
Tailwind
colors: {
  custom: {
    50: '#a27eca',
    500: '#774ab2',
    950: '#000000',
  },
}
SCSS
$custom: #774ab2;
$custom-light: #a27eca;
$custom-dark: #000000;
JSON
{
  "hex": "#774ab2",
  "rgb": {
    "r": 119,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 265.962,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51099,
    "c": 0.16007,
    "h": 300.8
  },
  "luminance": 0.12034
}

Semantic roles & 50–950 ramp

primary
#774AB2
secondary
#AFC494
accent
#D1579C
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #774AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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