#774CB2#774CB2

#774CB2 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.4% C 0.157 H 300.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#774CB2
RGBrgb(119, 76, 178)
HSLhsl(265, 40%, 50%)
HSVhsv(265, 57%, 70%)
CMYKcmyk(33.1%, 57.3%, 0%, 30.2%)
CIE-LABlab(41.70, 39.64, -47.85)
CIE-LCHlch(41.70, 62.14, 309.63°)
OKLaboklab(51.41% 0.0795 -0.1354)
OKLCHoklch(51.41% 0.157 300.4)
XYZxyz(18.2262, 12.3051, 43.5257)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774CB2 #87B24C
analogous
#4C54B2 #774CB2 #AA4CB2
triadic
#774CB2 #B2774C #4CB277
tetradic
#774CB2 #B24C54 #87B24C #4CB2AA
square
#774CB2 #B24C54 #87B24C #4CB2AA
split-complementary
#774CB2 #B2AA4C #54B24C
monochromatic
#3E275C #5A3A87 #774CB2 #9776C5 #B8A1D7

Accessibility & contrast

On white

6.07
#774CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#774CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774CB2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774CB2#FFFFFF#000000##FFFFFF
##774CB21.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E62B5
Deuteranopia (green-blind)
#2F62B0
Tritanopia (blue-blind)
#6B6177
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #774cb2;
/* rgb */ color: rgb(119, 76, 178);
/* oklch */ color: oklch(51.4% 0.157 300.4);
Tailwind
colors: {
  custom: {
    50: '#a280ca',
    500: '#774cb2',
    950: '#000000',
  },
}
SCSS
$custom: #774cb2;
$custom-light: #a280ca;
$custom-dark: #000000;
JSON
{
  "hex": "#774cb2",
  "rgb": {
    "r": 119,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 265.294,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51412,
    "c": 0.15704,
    "h": 300.4
  },
  "luminance": 0.12305
}

Semantic roles & 50–950 ramp

primary
#774CB2
secondary
#B1C496
accent
#D0589D
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #774CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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