#774FB5#774FB5

#774FB5 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.1% C 0.156 H 299.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#774FB5
RGBrgb(119, 79, 181)
HSLhsl(264, 41%, 51%)
HSVhsv(264, 56%, 71%)
CMYKcmyk(34.3%, 56.4%, 0%, 29%)
CIE-LABlab(42.54, 38.71, -48.27)
CIE-LCHlch(42.54, 61.88, 308.73°)
OKLaboklab(52.09% 0.0757 -0.1367)
OKLCHoklch(52.09% 0.156 299)
XYZxyz(18.7422, 12.8499, 45.2000)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774FB5 #8DB54F
analogous
#4F5AB5 #774FB5 #AA4FB5
triadic
#774FB5 #B5774F #4FB577
tetradic
#774FB5 #B54F5A #8DB54F #4FB5AA
square
#774FB5 #B54F5A #8DB54F #4FB5AA
split-complementary
#774FB5 #B5AA4F #5AB54F
monochromatic
#3F2961 #5B3B8C #774FB5 #987AC7 #BAA5D9

Accessibility & contrast

On white

5.88
#774FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#774FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774FB5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774FB5#FFFFFF#000000##FFFFFF
##774FB51.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2264B8
Deuteranopia (green-blind)
#3064B3
Tritanopia (blue-blind)
#6A647A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #774fb5;
/* rgb */ color: rgb(119, 79, 181);
/* oklch */ color: oklch(52.1% 0.156 299.0);
Tailwind
colors: {
  custom: {
    50: '#a282cc',
    500: '#774fb5',
    950: '#000000',
  },
}
SCSS
$custom: #774fb5;
$custom-light: #a282cc;
$custom-dark: #000000;
JSON
{
  "hex": "#774fb5",
  "rgb": {
    "r": 119,
    "g": 79,
    "b": 181
  },
  "hsl": {
    "h": 263.529,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5209,
    "c": 0.15623,
    "h": 299
  },
  "luminance": 0.1285
}

Semantic roles & 50–950 ramp

primary
#774FB5
secondary
#B5C699
accent
#D157A1
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #774FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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