#8A778D#8A778D

#8A778D is a mid, muted purple. Relative luminance 0.205; OKLCH L 59.4% C 0.040 H 321.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8A778D
RGBrgb(138, 119, 141)
HSLhsl(292, 9%, 51%)
HSVhsv(292, 16%, 55%)
CMYKcmyk(2.1%, 15.6%, 0%, 44.7%)
CIE-LABlab(52.42, 11.54, -9.22)
CIE-LCHlch(52.42, 14.77, 321.39°)
OKLaboklab(59.43% 0.0312 -0.0247)
OKLCHoklch(59.43% 0.04 321.7)
XYZxyz(21.8851, 20.5203, 28.0021)
Luminance0.2052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A778D #7A8D77
analogous
#7F778D #8A778D #8D7785
triadic
#8A778D #8D8A77 #778D8A
tetradic
#8A778D #8D7F77 #7A8D77 #77858D
square
#8A778D #8D7F77 #7A8D77 #77858D
split-complementary
#8A778D #858D77 #778D7F
monochromatic
#493F4B #6A5B6C #8A778D #A798A9 #C3BAC5

Accessibility & contrast

On white

4.11
#8A778D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8A778D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A778D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A778D#FFFFFF#000000##000000
##8A778D1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#757C8E
Deuteranopia (green-blind)
#797E8C
Tritanopia (blue-blind)
#8B797E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a778d;
/* rgb */ color: rgb(138, 119, 141);
/* oklch */ color: oklch(59.4% 0.040 321.7);
Tailwind
colors: {
  custom: {
    50: '#ac9eae',
    500: '#8a778d',
    950: '#000000',
  },
}
SCSS
$custom: #8a778d;
$custom-light: #ac9eae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a778d",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 141
  },
  "hsl": {
    "h": 291.818,
    "s": 8.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59425,
    "c": 0.03982,
    "h": 321.7
  },
  "luminance": 0.2052
}

Semantic roles & 50–950 ramp

primary
#8A778D
secondary
#ACB5AB
accent
#B2767E
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E10
muted
#7F7E7F

Preview Lab

Preview with #8A778D

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

Preview Lab → · Contrast checker → · Palette generator →

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