#774BA2#774BA2

#774BA2 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.2% C 0.139 H 305.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#774BA2
RGBrgb(119, 75, 162)
HSLhsl(270, 37%, 46%)
HSVhsv(270, 54%, 64%)
CMYKcmyk(26.5%, 53.7%, 0%, 36.5%)
CIE-LABlab(40.51, 36.14, -40.26)
CIE-LCHlch(40.51, 54.10, 311.92°)
OKLaboklab(50.23% 0.0802 -0.1132)
OKLCHoklch(50.23% 0.139 305.3)
XYZxyz(16.6440, 11.5628, 35.5304)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774BA2 #76A24B
analogous
#4C4BA2 #774BA2 #A24BA2
triadic
#774BA2 #A2774B #4BA277
tetradic
#774BA2 #A24C4B #76A24B #4BA2A2
square
#774BA2 #A24C4B #76A24B #4BA2A2
split-complementary
#774BA2 #A2A24B #4BA24C
monochromatic
#3A244E #583878 #774BA2 #966EBC #B498CF

Accessibility & contrast

On white

6.34
#774BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#774BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774BA2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774BA2#FFFFFF#000000##FFFFFF
##774BA21.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA5
Deuteranopia (green-blind)
#3D60A0
Tritanopia (blue-blind)
#705B6F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #774ba2;
/* rgb */ color: rgb(119, 75, 162);
/* oklch */ color: oklch(50.2% 0.139 305.3);
Tailwind
colors: {
  custom: {
    50: '#a17fbe',
    500: '#774ba2',
    950: '#000000',
  },
}
SCSS
$custom: #774ba2;
$custom-light: #a17fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#774ba2",
  "rgb": {
    "r": 119,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 270.345,
    "s": 36.709,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50229,
    "c": 0.1387,
    "h": 305.3
  },
  "luminance": 0.11563
}

Semantic roles & 50–950 ramp

primary
#774BA2
secondary
#A4BC8D
accent
#CD5B93
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #774BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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