#774BB4#774BB4

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

Color values

HEX#774BB4
RGBrgb(119, 75, 180)
HSLhsl(265, 41%, 50%)
HSVhsv(265, 58%, 71%)
CMYKcmyk(33.9%, 58.3%, 0%, 29.4%)
CIE-LABlab(41.61, 40.72, -49.17)
CIE-LCHlch(41.61, 63.84, 309.63°)
OKLaboklab(51.39% 0.0808 -0.1393)
OKLCHoklch(51.39% 0.161 300.1)
XYZxyz(18.3601, 12.2492, 44.5682)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774BB4 #88B44B
analogous
#4B54B4 #774BB4 #AB4BB4
triadic
#774BB4 #B4774B #4BB477
tetradic
#774BB4 #B44B54 #88B44B #4BB4AB
square
#774BB4 #B44B54 #88B44B #4BB4AB
split-complementary
#774BB4 #B4AB4B #54B44B
monochromatic
#3E275E #5A3989 #774BB4 #9876C6 #B8A1D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##774BB4#FFFFFF#000000##FFFFFF
##774BB41.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)
#1762B7
Deuteranopia (green-blind)
#2B61B2
Tritanopia (blue-blind)
#6A6178
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #774bb4;
/* rgb */ color: rgb(119, 75, 180);
/* oklch */ color: oklch(51.4% 0.161 300.1);
Tailwind
colors: {
  custom: {
    50: '#a27fcb',
    500: '#774bb4',
    950: '#000000',
  },
}
SCSS
$custom: #774bb4;
$custom-light: #a27fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#774bb4",
  "rgb": {
    "r": 119,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 265.143,
    "s": 41.176,
    "l": 50
  },
  "oklch": {
    "l": 0.51389,
    "c": 0.16103,
    "h": 300.1
  },
  "luminance": 0.12249
}

Semantic roles & 50–950 ramp

primary
#774BB4
secondary
#B1C596
accent
#D1579E
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #774BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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