#774AC4#774AC4

#774AC4 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.4% C 0.182 H 296.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#774AC4
RGBrgb(119, 74, 196)
HSLhsl(262, 51%, 53%)
HSVhsv(262, 62%, 77%)
CMYKcmyk(39.3%, 62.2%, 0%, 23.1%)
CIE-LABlab(42.47, 45.47, -57.14)
CIE-LCHlch(42.47, 73.02, 308.51°)
OKLaboklab(52.36% 0.0814 -0.1627)
OKLCHoklch(52.36% 0.182 296.6)
XYZxyz(20.0178, 12.8047, 53.6307)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774AC4 #97C44A
analogous
#4A5AC4 #774AC4 #B44AC4
triadic
#774AC4 #C4774A #4AC477
tetradic
#774AC4 #C44A5A #97C44A #4AC4B4
square
#774AC4 #C44A5A #97C44A #4AC4B4
split-complementary
#774AC4 #C4B44A #5AC44A
monochromatic
#40246F #5A339D #774AC4 #9A78D3 #BCA6E2

Accessibility & contrast

On white

5.90
#774AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#774AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774AC4
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774AC4#FFFFFF#000000##FFFFFF
##774AC41.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#0363C1
Tritanopia (blue-blind)
#646580
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #774ac4;
/* rgb */ color: rgb(119, 74, 196);
/* oklch */ color: oklch(52.4% 0.182 296.6);
Tailwind
colors: {
  custom: {
    50: '#a37fd7',
    500: '#774ac4',
    950: '#000000',
  },
}
SCSS
$custom: #774ac4;
$custom-light: #a37fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#774ac4",
  "rgb": {
    "r": 119,
    "g": 74,
    "b": 196
  },
  "hsl": {
    "h": 262.131,
    "s": 50.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52355,
    "c": 0.18196,
    "h": 296.6
  },
  "luminance": 0.12805
}

Semantic roles & 50–950 ramp

primary
#774AC4
secondary
#BCCF9B
accent
#DA4DA6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #774AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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