#774EB2#774EB2

#774EB2 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.7% C 0.154 H 300.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#774EB2
RGBrgb(119, 78, 178)
HSLhsl(265, 39%, 50%)
HSVhsv(265, 56%, 70%)
CMYKcmyk(33.1%, 56.2%, 0%, 30.2%)
CIE-LABlab(42.13, 38.50, -47.16)
CIE-LCHlch(42.13, 60.88, 309.23°)
OKLaboklab(51.73% 0.0769 -0.1334)
OKLCHoklch(51.73% 0.154 300)
XYZxyz(18.3661, 12.5849, 43.5724)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774EB2 #89B24E
analogous
#4E57B2 #774EB2 #A94EB2
triadic
#774EB2 #B2774E #4EB277
tetradic
#774EB2 #B24E57 #89B24E #4EB2A9
square
#774EB2 #B24E57 #89B24E #4EB2A9
split-complementary
#774EB2 #B2A94E #57B24E
monochromatic
#3E295D #5A3B88 #774EB2 #9879C5 #B9A3D7

Accessibility & contrast

On white

5.97
#774EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#774EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774EB2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774EB2#FFFFFF#000000##FFFFFF
##774EB21.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2363B5
Deuteranopia (green-blind)
#3263B0
Tritanopia (blue-blind)
#6B6278
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #774eb2;
/* rgb */ color: rgb(119, 78, 178);
/* oklch */ color: oklch(51.7% 0.154 300.0);
Tailwind
colors: {
  custom: {
    50: '#a281ca',
    500: '#774eb2',
    950: '#000000',
  },
}
SCSS
$custom: #774eb2;
$custom-light: #a281ca;
$custom-dark: #000000;
JSON
{
  "hex": "#774eb2",
  "rgb": {
    "r": 119,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 264.6,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51732,
    "c": 0.15399,
    "h": 300
  },
  "luminance": 0.12585
}

Semantic roles & 50–950 ramp

primary
#774EB2
secondary
#B2C498
accent
#CF599F
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #774EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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