#774AB7#774AB7

#774AB7 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.4% C 0.166 H 299.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#774AB7
RGBrgb(119, 74, 183)
HSLhsl(265, 43%, 50%)
HSVhsv(265, 60%, 72%)
CMYKcmyk(35%, 59.6%, 0%, 28.2%)
CIE-LABlab(41.59, 42.05, -50.96)
CIE-LCHlch(41.59, 66.07, 309.53°)
OKLaboklab(51.44% 0.082 -0.1446)
OKLCHoklch(51.44% 0.166 299.6)
XYZxyz(18.6017, 12.2382, 46.1728)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774AB7 #8AB74A
analogous
#4A53B7 #774AB7 #AE4AB7
triadic
#774AB7 #B7774A #4AB777
tetradic
#774AB7 #B74A53 #8AB74A #4AB7AE
square
#774AB7 #B74A53 #8AB74A #4AB7AE
split-complementary
#774AB7 #B7AE4A #53B74A
monochromatic
#3E2660 #5B388C #774AB7 #9876C8 #B9A2DA

Accessibility & contrast

On white

6.09
#774AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#774AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774AB7
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774AB7#FFFFFF#000000##FFFFFF
##774AB71.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A62BB
Deuteranopia (green-blind)
#2561B5
Tritanopia (blue-blind)
#696179
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #774ab7;
/* rgb */ color: rgb(119, 74, 183);
/* oklch */ color: oklch(51.4% 0.166 299.6);
Tailwind
colors: {
  custom: {
    50: '#a27ecd',
    500: '#774ab7',
    950: '#000000',
  },
}
SCSS
$custom: #774ab7;
$custom-light: #a27ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#774ab7",
  "rgb": {
    "r": 119,
    "g": 74,
    "b": 183
  },
  "hsl": {
    "h": 264.771,
    "s": 43.083,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51438,
    "c": 0.16619,
    "h": 299.6
  },
  "luminance": 0.12238
}

Semantic roles & 50–950 ramp

primary
#774AB7
secondary
#B3C796
accent
#D3559F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #774AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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