#774AA2#774AA2

#774AA2 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.1% C 0.140 H 305.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#774AA2
RGBrgb(119, 74, 162)
HSLhsl(271, 37%, 46%)
HSVhsv(271, 54%, 64%)
CMYKcmyk(26.5%, 54.3%, 0%, 36.5%)
CIE-LABlab(40.29, 36.71, -40.61)
CIE-LCHlch(40.29, 54.74, 312.12°)
OKLaboklab(50.07% 0.0816 -0.1142)
OKLCHoklch(50.07% 0.14 305.5)
XYZxyz(16.5767, 11.4282, 35.5080)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774AA2 #75A24A
analogous
#4B4AA2 #774AA2 #A24AA1
triadic
#774AA2 #A2774A #4AA277
tetradic
#774AA2 #A24B4A #75A24A #4AA1A2
square
#774AA2 #A24B4A #75A24A #4AA1A2
split-complementary
#774AA2 #A1A24A #4AA24B
monochromatic
#39244E #583778 #774AA2 #966DBC #B497CF

Accessibility & contrast

On white

6.39
#774AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#774AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774AA2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774AA2#FFFFFF#000000##FFFFFF
##774AA21.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA5
Deuteranopia (green-blind)
#3B5FA0
Tritanopia (blue-blind)
#705A6F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #774aa2;
/* rgb */ color: rgb(119, 74, 162);
/* oklch */ color: oklch(50.1% 0.140 305.5);
Tailwind
colors: {
  custom: {
    50: '#a17ebe',
    500: '#774aa2',
    950: '#000000',
  },
}
SCSS
$custom: #774aa2;
$custom-light: #a17ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#774aa2",
  "rgb": {
    "r": 119,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 270.682,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50066,
    "c": 0.14034,
    "h": 305.5
  },
  "luminance": 0.11428
}

Semantic roles & 50–950 ramp

primary
#774AA2
secondary
#A3BC8C
accent
#CD5B93
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #774AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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