#774AAA#774AAA

#774AAA is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.6% C 0.150 H 303.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#774AAA
RGBrgb(119, 74, 170)
HSLhsl(268, 39%, 48%)
HSVhsv(268, 56%, 67%)
CMYKcmyk(30%, 56.5%, 0%, 33.3%)
CIE-LABlab(40.77, 38.72, -44.61)
CIE-LCHlch(40.77, 59.07, 310.96°)
OKLaboklab(50.57% 0.0819 -0.1259)
OKLCHoklch(50.57% 0.15 303.1)
XYZxyz(17.3106, 11.7218, 39.3730)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774AAA #7DAA4A
analogous
#4A4DAA #774AAA #A74AAA
triadic
#774AAA #AA774A #4AAA77
tetradic
#774AAA #AA4A4D #7DAA4A #4AAAA7
square
#774AAA #AA4A4D #7DAA4A #4AAAA7
split-complementary
#774AAA #AAA74A #4DAA4A
monochromatic
#3B2555 #59377F #774AAA #9670C1 #B59BD3

Accessibility & contrast

On white

6.28
#774AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#774AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774AAA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774AAA#FFFFFF#000000##FFFFFF
##774AAA1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245FAD
Deuteranopia (green-blind)
#3560A8
Tritanopia (blue-blind)
#6E5D73
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #774aaa;
/* rgb */ color: rgb(119, 74, 170);
/* oklch */ color: oklch(50.6% 0.150 303.1);
Tailwind
colors: {
  custom: {
    50: '#a17ec4',
    500: '#774aaa',
    950: '#000000',
  },
}
SCSS
$custom: #774aaa;
$custom-light: #a17ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#774aaa",
  "rgb": {
    "r": 119,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 268.125,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50572,
    "c": 0.15023,
    "h": 303.1
  },
  "luminance": 0.11722
}

Semantic roles & 50–950 ramp

primary
#774AAA
secondary
#A9C090
accent
#CF5998
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #774AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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