#8A778B#8A778B

#8A778B is a mid, muted grey. Relative luminance 0.205; OKLCH L 59.4% C 0.037 H 324.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8A778B
RGBrgb(138, 119, 139)
HSLhsl(297, 8%, 51%)
HSVhsv(297, 14%, 55%)
CMYKcmyk(0.7%, 14.4%, 0%, 45.5%)
CIE-LABlab(52.35, 11.14, -8.15)
CIE-LCHlch(52.35, 13.80, 323.82°)
OKLaboklab(59.35% 0.0305 -0.0218)
OKLCHoklch(59.35% 0.037 324.5)
XYZxyz(21.7376, 20.4613, 27.2254)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A778B #788B77
analogous
#80778B #8A778B #8B7782
triadic
#8A778B #8B8A77 #778B8A
tetradic
#8A778B #8B8077 #788B77 #77828B
square
#8A778B #8B8077 #788B77 #77828B
split-complementary
#8A778B #828B77 #778B80
monochromatic
#493E49 #695B6A #8A778B #A698A7 #C3B9C3

Accessibility & contrast

On white

4.12
#8A778B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8A778B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A778B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A778B#FFFFFF#000000##000000
##8A778B1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#767B8C
Deuteranopia (green-blind)
#7A7E8A
Tritanopia (blue-blind)
#8B797E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a778b;
/* rgb */ color: rgb(138, 119, 139);
/* oklch */ color: oklch(59.4% 0.037 324.5);
Tailwind
colors: {
  custom: {
    50: '#ac9eac',
    500: '#8a778b',
    950: '#000000',
  },
}
SCSS
$custom: #8a778b;
$custom-light: #ac9eac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a778b",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 139
  },
  "hsl": {
    "h": 297,
    "s": 7.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59353,
    "c": 0.03746,
    "h": 324.5
  },
  "luminance": 0.20461
}

Semantic roles & 50–950 ramp

primary
#8A778B
secondary
#ABB3AA
accent
#B1777A
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E10
muted
#7F7E7F

Preview Lab

Preview with #8A778B

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

Preview Lab → · Contrast checker → · Palette generator →

#8A778B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva