#774EA7#774EA7

#774EA7 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.0% C 0.140 H 303.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#774EA7
RGBrgb(119, 78, 167)
HSLhsl(268, 36%, 48%)
HSVhsv(268, 53%, 65%)
CMYKcmyk(28.7%, 53.3%, 0%, 34.5%)
CIE-LABlab(41.47, 35.67, -41.71)
CIE-LCHlch(41.47, 54.88, 310.54°)
OKLaboklab(51.03% 0.0764 -0.1174)
OKLCHoklch(51.03% 0.14 303)
XYZxyz(17.3056, 12.1608, 37.9873)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774EA7 #7EA74E
analogous
#4E51A7 #774EA7 #A34EA7
triadic
#774EA7 #A7774E #4EA777
tetradic
#774EA7 #A74E51 #7EA74E #4EA7A3
square
#774EA7 #A74E51 #7EA74E #4EA7A3
split-complementary
#774EA7 #A7A34E #51A74E
monochromatic
#3C2754 #593B7D #774EA7 #9674BE #B69ED2

Accessibility & contrast

On white

6.12
#774EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#774EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774EA7
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774EA7#FFFFFF#000000##FFFFFF
##774EA71.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3061AA
Deuteranopia (green-blind)
#3C62A5
Tritanopia (blue-blind)
#6E5F73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #774ea7;
/* rgb */ color: rgb(119, 78, 167);
/* oklch */ color: oklch(51.0% 0.140 303.0);
Tailwind
colors: {
  custom: {
    50: '#a181c1',
    500: '#774ea7',
    950: '#000000',
  },
}
SCSS
$custom: #774ea7;
$custom-light: #a181c1;
$custom-dark: #000000;
JSON
{
  "hex": "#774ea7",
  "rgb": {
    "r": 119,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 267.64,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51031,
    "c": 0.1401,
    "h": 303
  },
  "luminance": 0.12161
}

Semantic roles & 50–950 ramp

primary
#774EA7
secondary
#AABE92
accent
#CC5B98
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #774EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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