#774AC3#774AC3

#774AC3 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.181 H 296.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#774AC3
RGBrgb(119, 74, 195)
HSLhsl(262, 50%, 53%)
HSVhsv(262, 62%, 76%)
CMYKcmyk(39%, 62.1%, 0%, 23.5%)
CIE-LABlab(42.40, 45.20, -56.67)
CIE-LCHlch(42.40, 72.49, 308.58°)
OKLaboklab(52.28% 0.0815 -0.1613)
OKLCHoklch(52.28% 0.181 296.8)
XYZxyz(19.9043, 12.7593, 53.0333)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774AC3 #96C34A
analogous
#4A5AC3 #774AC3 #B34AC3
triadic
#774AC3 #C3774A #4AC377
tetradic
#774AC3 #C34A5A #96C34A #4AC3B3
square
#774AC3 #C34A5A #96C34A #4AC3B3
split-complementary
#774AC3 #C3B34A #5AC34A
monochromatic
#40246E #5B349C #774AC3 #9A78D2 #BCA6E1

Accessibility & contrast

On white

5.91
#774AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#774AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774AC3
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774AC3#FFFFFF#000000##FFFFFF
##774AC31.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#0863C0
Tritanopia (blue-blind)
#656580
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #774ac3;
/* rgb */ color: rgb(119, 74, 195);
/* oklch */ color: oklch(52.3% 0.181 296.8);
Tailwind
colors: {
  custom: {
    50: '#a37fd6',
    500: '#774ac3',
    950: '#000000',
  },
}
SCSS
$custom: #774ac3;
$custom-light: #a37fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#774ac3",
  "rgb": {
    "r": 119,
    "g": 74,
    "b": 195
  },
  "hsl": {
    "h": 262.314,
    "s": 50.207,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52283,
    "c": 0.18075,
    "h": 296.8
  },
  "luminance": 0.1276
}

Semantic roles & 50–950 ramp

primary
#774AC3
secondary
#BBCF9A
accent
#DA4EA6
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #774AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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