#7E778F#7E778F

#7E778F is a mid, muted violet. Relative luminance 0.196; OKLCH L 58.4% C 0.037 H 298.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7E778F
RGBrgb(126, 119, 143)
HSLhsl(258, 10%, 51%)
HSVhsv(258, 17%, 56%)
CMYKcmyk(11.9%, 16.8%, 0%, 43.9%)
CIE-LABlab(51.40, 7.68, -12.04)
CIE-LCHlch(51.40, 14.28, 302.52°)
OKLaboklab(58.39% 0.0178 -0.0326)
OKLCHoklch(58.39% 0.037 298.6)
XYZxyz(20.1580, 19.6124, 28.7049)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E778F #888F77
analogous
#777C8F #7E778F #8A778F
triadic
#7E778F #8F7E77 #778F7E
tetradic
#7E778F #8F777C #888F77 #778F8A
square
#7E778F #8F777C #888F77 #778F8A
split-complementary
#7E778F #8F8A77 #7C8F77
monochromatic
#433F4D #605B6E #7E778F #9E99AB #BEBAC6

Accessibility & contrast

On white

4.27
#7E778F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#7E778F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E778F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E778F#FFFFFF#000000##000000
##7E778F1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#727A90
Deuteranopia (green-blind)
#737A8E
Tritanopia (blue-blind)
#7B7A7F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e778f;
/* rgb */ color: rgb(126, 119, 143);
/* oklch */ color: oklch(58.4% 0.037 298.6);
Tailwind
colors: {
  custom: {
    50: '#a39eaf',
    500: '#7e778f',
    950: '#000000',
  },
}
SCSS
$custom: #7e778f;
$custom-light: #a39eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e778f",
  "rgb": {
    "r": 126,
    "g": 119,
    "b": 143
  },
  "hsl": {
    "h": 257.5,
    "s": 9.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5839,
    "c": 0.03712,
    "h": 298.6
  },
  "luminance": 0.19612
}

Semantic roles & 50–950 ramp

primary
#7E778F
secondary
#B3B6AC
accent
#B375A1
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0E10
muted
#7F7E7F

Preview Lab

Preview with #7E778F

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

Preview Lab → · Contrast checker → · Palette generator →

#7E778F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva