#774EA1#774EA1

#774EA1 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.7% C 0.132 H 304.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#774EA1
RGBrgb(119, 78, 161)
HSLhsl(270, 35%, 47%)
HSVhsv(270, 52%, 63%)
CMYKcmyk(26.1%, 51.6%, 0%, 36.9%)
CIE-LABlab(41.13, 34.17, -38.68)
CIE-LCHlch(41.13, 51.61, 311.45°)
OKLaboklab(50.67% 0.0759 -0.1086)
OKLCHoklch(50.67% 0.132 304.9)
XYZxyz(16.7638, 11.9440, 35.1336)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774EA1 #78A14E
analogous
#4E4EA1 #774EA1 #A14EA1
triadic
#774EA1 #A1774E #4EA177
tetradic
#774EA1 #A14E4E #78A14E #4EA1A1
square
#774EA1 #A14E4E #78A14E #4EA1A1
split-complementary
#774EA1 #A1A14E #4EA14E
monochromatic
#3A264F #593A78 #774EA1 #9672BB #B49BCF

Accessibility & contrast

On white

6.20
#774EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#774EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774EA1
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774EA1#FFFFFF#000000##FFFFFF
##774EA11.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A4
Deuteranopia (green-blind)
#41619F
Tritanopia (blue-blind)
#705D70
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #774ea1;
/* rgb */ color: rgb(119, 78, 161);
/* oklch */ color: oklch(50.7% 0.132 304.9);
Tailwind
colors: {
  custom: {
    50: '#a081bd',
    500: '#774ea1',
    950: '#000000',
  },
}
SCSS
$custom: #774ea1;
$custom-light: #a081bd;
$custom-dark: #000000;
JSON
{
  "hex": "#774ea1",
  "rgb": {
    "r": 119,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 269.639,
    "s": 34.728,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50665,
    "c": 0.13249,
    "h": 304.9
  },
  "luminance": 0.11944
}

Semantic roles & 50–950 ramp

primary
#774EA1
secondary
#A6BB90
accent
#CB5D95
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #774EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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