#774AC7#774AC7

#774AC7 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.6% C 0.186 H 295.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#774AC7
RGBrgb(119, 74, 199)
HSLhsl(262, 53%, 54%)
HSVhsv(262, 63%, 78%)
CMYKcmyk(40.2%, 62.8%, 0%, 22%)
CIE-LABlab(42.68, 46.27, -58.54)
CIE-LCHlch(42.68, 74.62, 308.32°)
OKLaboklab(52.57% 0.0812 -0.1669)
OKLCHoklch(52.57% 0.186 295.9)
XYZxyz(20.3626, 12.9426, 55.4471)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774AC7 #9AC74A
analogous
#4A5BC7 #774AC7 #B54AC7
triadic
#774AC7 #C7774A #4AC777
tetradic
#774AC7 #C74A5B #9AC74A #4AC7B5
square
#774AC7 #C74A5B #9AC74A #4AC7B5
split-complementary
#774AC7 #C7B54A #5BC74A
monochromatic
#402473 #5A32A2 #774AC7 #9A79D5 #BDA7E4

Accessibility & contrast

On white

5.85
#774AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#774AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774AC7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774AC7#FFFFFF#000000##FFFFFF
##774AC71.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#636682
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #774ac7;
/* rgb */ color: rgb(119, 74, 199);
/* oklch */ color: oklch(52.6% 0.186 295.9);
Tailwind
colors: {
  custom: {
    50: '#a47fd9',
    500: '#774ac7',
    950: '#000000',
  },
}
SCSS
$custom: #774ac7;
$custom-light: #a47fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#774ac7",
  "rgb": {
    "r": 119,
    "g": 74,
    "b": 199
  },
  "hsl": {
    "h": 261.6,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52573,
    "c": 0.18556,
    "h": 295.9
  },
  "luminance": 0.12943
}

Semantic roles & 50–950 ramp

primary
#774AC7
secondary
#BED19C
accent
#DC4CA8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #774AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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