#774ACC#774ACC

#774ACC is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.192 H 294.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#774ACC
RGBrgb(119, 74, 204)
HSLhsl(261, 56%, 55%)
HSVhsv(261, 64%, 80%)
CMYKcmyk(41.7%, 63.7%, 0%, 20%)
CIE-LABlab(43.03, 47.60, -60.86)
CIE-LCHlch(43.03, 77.27, 308.03°)
OKLaboklab(52.94% 0.0808 -0.1737)
OKLCHoklch(52.94% 0.192 294.9)
XYZxyz(20.9527, 13.1786, 58.5548)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774ACC #9FCC4A
analogous
#4A5ECC #774ACC #B84ACC
triadic
#774ACC #CC774A #4ACC77
tetradic
#774ACC #CC4A5E #9FCC4A #4ACCB8
square
#774ACC #CC4A5E #9FCC4A #4ACCB8
split-complementary
#774ACC #CCB84A #5ECC4A
monochromatic
#402279 #5A30A9 #774ACC #9B7AD9 #BFA9E7

Accessibility & contrast

On white

5.78
#774ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#774ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774ACC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774ACC#FFFFFF#000000##FFFFFF
##774ACC1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#616884
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #774acc;
/* rgb */ color: rgb(119, 74, 204);
/* oklch */ color: oklch(52.9% 0.192 294.9);
Tailwind
colors: {
  custom: {
    50: '#a47fdc',
    500: '#774acc',
    950: '#000000',
  },
}
SCSS
$custom: #774acc;
$custom-light: #a47fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#774acc",
  "rgb": {
    "r": 119,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 260.769,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52942,
    "c": 0.19154,
    "h": 294.9
  },
  "luminance": 0.13179
}

Semantic roles & 50–950 ramp

primary
#774ACC
secondary
#C1D49D
accent
#DF48AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #774ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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