#8A778F#8A778F

#8A778F is a mid, muted purple. Relative luminance 0.206; OKLCH L 59.5% C 0.042 H 319.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8A778F
RGBrgb(138, 119, 143)
HSLhsl(288, 10%, 51%)
HSVhsv(288, 17%, 56%)
CMYKcmyk(3.5%, 16.8%, 0%, 43.9%)
CIE-LABlab(52.49, 11.96, -10.29)
CIE-LCHlch(52.49, 15.78, 319.28°)
OKLaboklab(59.5% 0.032 -0.0276)
OKLCHoklch(59.5% 0.042 319.2)
XYZxyz(22.0353, 20.5804, 28.7929)
Luminance0.2058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A778F #7C8F77
analogous
#7E778F #8A778F #8F7788
triadic
#8A778F #8F8A77 #778F8A
tetradic
#8A778F #8F7E77 #7C8F77 #77888F
square
#8A778F #8F7E77 #7C8F77 #77888F
split-complementary
#8A778F #888F77 #778F7E
monochromatic
#4A3F4D #6A5B6E #8A778F #A799AB #C4BAC6

Accessibility & contrast

On white

4.10
#8A778F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8A778F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A778F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A778F#FFFFFF#000000##000000
##8A778F1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#757C90
Deuteranopia (green-blind)
#787E8E
Tritanopia (blue-blind)
#8A797F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a778f;
/* rgb */ color: rgb(138, 119, 143);
/* oklch */ color: oklch(59.5% 0.042 319.2);
Tailwind
colors: {
  custom: {
    50: '#ac9eaf',
    500: '#8a778f',
    950: '#000000',
  },
}
SCSS
$custom: #8a778f;
$custom-light: #ac9eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a778f",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 143
  },
  "hsl": {
    "h": 287.5,
    "s": 9.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59499,
    "c": 0.04226,
    "h": 319.2
  },
  "luminance": 0.2058
}

Semantic roles & 50–950 ramp

primary
#8A778F
secondary
#AEB6AC
accent
#B37582
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E10
muted
#7F7E7F

Preview Lab

Preview with #8A778F

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

Preview Lab → · Contrast checker → · Palette generator →

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