#7E778E#7E778E

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

Color values

HEX#7E778E
RGBrgb(126, 119, 142)
HSLhsl(258, 9%, 51%)
HSVhsv(258, 16%, 56%)
CMYKcmyk(11.3%, 16.2%, 0%, 44.3%)
CIE-LABlab(51.36, 7.45, -11.51)
CIE-LCHlch(51.36, 13.71, 302.93°)
OKLaboklab(58.35% 0.0174 -0.0311)
OKLCHoklch(58.35% 0.036 299.2)
XYZxyz(20.0825, 19.5822, 28.3077)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E778E #878E77
analogous
#777B8E #7E778E #89778E
triadic
#7E778E #8E7E77 #778E7E
tetradic
#7E778E #8E777B #878E77 #778E89
square
#7E778E #8E777B #878E77 #778E89
split-complementary
#7E778E #8E8977 #7B8E77
monochromatic
#433F4C #605B6D #7E778E #9E98AA #BDBAC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E778E#FFFFFF#000000##000000
##7E778E1.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)
#737A8F
Deuteranopia (green-blind)
#747A8D
Tritanopia (blue-blind)
#7B7A7F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e778e;
/* rgb */ color: rgb(126, 119, 142);
/* oklch */ color: oklch(58.4% 0.036 299.2);
Tailwind
colors: {
  custom: {
    50: '#a39eaf',
    500: '#7e778e',
    950: '#000000',
  },
}
SCSS
$custom: #7e778e;
$custom-light: #a39eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e778e",
  "rgb": {
    "r": 126,
    "g": 119,
    "b": 142
  },
  "hsl": {
    "h": 258.261,
    "s": 9.237,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58351,
    "c": 0.03564,
    "h": 299.2
  },
  "luminance": 0.19582
}

Semantic roles & 50–950 ramp

primary
#7E778E
secondary
#B2B5AB
accent
#B276A0
background
#FAF9FA
surface
#F3F2F4
border
#CDCCCE
text
#0F0E10
muted
#7F7E7F

Preview Lab

Preview with #7E778E

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

Preview Lab → · Contrast checker → · Palette generator →

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