#774E97#774E97

#774E97 is a mid, moderate violet. Relative luminance 0.116; OKLCH L 50.1% C 0.120 H 308.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#774E97
RGBrgb(119, 78, 151)
HSLhsl(274, 32%, 45%)
HSVhsv(274, 48%, 59%)
CMYKcmyk(21.2%, 48.3%, 0%, 40.8%)
CIE-LABlab(40.58, 31.71, -33.55)
CIE-LCHlch(40.58, 46.17, 313.38°)
OKLaboklab(50.08% 0.0747 -0.0937)
OKLCHoklch(50.08% 0.12 308.6)
XYZxyz(15.9170, 11.6053, 30.6737)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#774E97 #6E974E
analogous
#534E97 #774E97 #974E92
triadic
#774E97 #97774E #4E9777
tetradic
#774E97 #97534E #6E974E #4E9297
square
#774E97 #97534E #6E974E #4E9297
split-complementary
#774E97 #92974E #4E9753
monochromatic
#372446 #57396F #774E97 #956EB4 #B396C9

Accessibility & contrast

On white

6.32
#774E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#774E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #774E97
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##774E97#FFFFFF#000000##FFFFFF
##774E971.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5E9A
Deuteranopia (green-blind)
#476095
Tritanopia (blue-blind)
#735A6B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #774e97;
/* rgb */ color: rgb(119, 78, 151);
/* oklch */ color: oklch(50.1% 0.120 308.6);
Tailwind
colors: {
  custom: {
    50: '#a081b6',
    500: '#774e97',
    950: '#000000',
  },
}
SCSS
$custom: #774e97;
$custom-light: #a081b6;
$custom-dark: #000000;
JSON
{
  "hex": "#774e97",
  "rgb": {
    "r": 119,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 273.699,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50082,
    "c": 0.11981,
    "h": 308.6
  },
  "luminance": 0.11605
}

Semantic roles & 50–950 ramp

primary
#774E97
secondary
#9EB68B
accent
#C8608D
background
#FAF7FB
surface
#F3EEF6
border
#CDC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #774E97

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

Preview Lab → · Contrast checker → · Palette generator →

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