#774FAC#774FAC

#774FAC is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.5% C 0.145 H 301.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#774FAC
RGBrgb(119, 79, 172)
HSLhsl(266, 37%, 49%)
HSVhsv(266, 54%, 67%)
CMYKcmyk(30.8%, 54.1%, 0%, 32.5%)
CIE-LABlab(41.99, 36.37, -43.85)
CIE-LCHlch(41.99, 56.97, 309.68°)
OKLaboklab(51.51% 0.0754 -0.1237)
OKLCHoklch(51.51% 0.145 301.3)
XYZxyz(17.8484, 12.4924, 40.4927)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774FAC #84AC4F
analogous
#4F56AC #774FAC #A64FAC
triadic
#774FAC #AC774F #4FAC77
tetradic
#774FAC #AC4F56 #84AC4F #4FACA6
square
#774FAC #AC4F56 #84AC4F #4FACA6
split-complementary
#774FAC #ACA64F #56AC4F
monochromatic
#3D2858 #5A3C82 #774FAC #9777C1 #B7A1D4

Accessibility & contrast

On white

6.00
#774FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#774FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774FAC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774FAC#FFFFFF#000000##FFFFFF
##774FAC1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D63AF
Deuteranopia (green-blind)
#3963AA
Tritanopia (blue-blind)
#6D6176
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #774fac;
/* rgb */ color: rgb(119, 79, 172);
/* oklch */ color: oklch(51.5% 0.145 301.3);
Tailwind
colors: {
  custom: {
    50: '#a181c5',
    500: '#774fac',
    950: '#000000',
  },
}
SCSS
$custom: #774fac;
$custom-light: #a181c5;
$custom-dark: #000000;
JSON
{
  "hex": "#774fac",
  "rgb": {
    "r": 119,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 265.806,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51509,
    "c": 0.14484,
    "h": 301.3
  },
  "luminance": 0.12492
}

Semantic roles & 50–950 ramp

primary
#774FAC
secondary
#AEC196
accent
#CD5B9C
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #774FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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