#774BB1#774BB1

#774BB1 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.2% C 0.157 H 300.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#774BB1
RGBrgb(119, 75, 177)
HSLhsl(266, 40%, 49%)
HSVhsv(266, 58%, 69%)
CMYKcmyk(32.8%, 57.6%, 0%, 30.6%)
CIE-LABlab(41.42, 39.94, -47.71)
CIE-LCHlch(41.42, 62.22, 309.94°)
OKLaboklab(51.19% 0.0808 -0.135)
OKLCHoklch(51.19% 0.157 300.9)
XYZxyz(18.0578, 12.1283, 42.9761)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774BB1 #85B14B
analogous
#4B52B1 #774BB1 #AA4BB1
triadic
#774BB1 #B1774B #4BB177
tetradic
#774BB1 #B14B52 #85B14B #4BB1AA
square
#774BB1 #B14B52 #85B14B #4BB1AA
split-complementary
#774BB1 #B1AA4B #52B14B
monochromatic
#3D275B #5A3986 #774BB1 #9775C4 #B7A0D7

Accessibility & contrast

On white

6.13
#774BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #774BB1
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774BB1#FFFFFF#000000##FFFFFF
##774BB11.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D61B4
Deuteranopia (green-blind)
#2F61AF
Tritanopia (blue-blind)
#6B6077
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #774bb1;
/* rgb */ color: rgb(119, 75, 177);
/* oklch */ color: oklch(51.2% 0.157 300.9);
Tailwind
colors: {
  custom: {
    50: '#a27fc9',
    500: '#774bb1',
    950: '#000000',
  },
}
SCSS
$custom: #774bb1;
$custom-light: #a27fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#774bb1",
  "rgb": {
    "r": 119,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 265.882,
    "s": 40.476,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51189,
    "c": 0.15733,
    "h": 300.9
  },
  "luminance": 0.12128
}

Semantic roles & 50–950 ramp

primary
#774BB1
secondary
#AFC394
accent
#D0579C
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #774BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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