#8A778E#8A778E

#8A778E is a mid, muted purple. Relative luminance 0.205; OKLCH L 59.5% C 0.041 H 320.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8A778E
RGBrgb(138, 119, 142)
HSLhsl(290, 9%, 51%)
HSVhsv(290, 16%, 56%)
CMYKcmyk(2.8%, 16.2%, 0%, 44.3%)
CIE-LABlab(52.45, 11.75, -9.76)
CIE-LCHlch(52.45, 15.27, 320.30°)
OKLaboklab(59.46% 0.0316 -0.0262)
OKLCHoklch(59.46% 0.041 320.4)
XYZxyz(21.9598, 20.5502, 28.3957)
Luminance0.2055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A778E #7B8E77
analogous
#7E778E #8A778E #8E7786
triadic
#8A778E #8E8A77 #778E8A
tetradic
#8A778E #8E7E77 #7B8E77 #77868E
square
#8A778E #8E7E77 #7B8E77 #77868E
split-complementary
#8A778E #868E77 #778E7E
monochromatic
#493F4C #6A5B6D #8A778E #A798AA #C4BAC6

Accessibility & contrast

On white

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

On black

5.11
#8A778E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A778E
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A778E#FFFFFF#000000##000000
##8A778E1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#757C8F
Deuteranopia (green-blind)
#797E8D
Tritanopia (blue-blind)
#8B797F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a778e;
/* rgb */ color: rgb(138, 119, 142);
/* oklch */ color: oklch(59.5% 0.041 320.4);
Tailwind
colors: {
  custom: {
    50: '#ac9eaf',
    500: '#8a778e',
    950: '#000000',
  },
}
SCSS
$custom: #8a778e;
$custom-light: #ac9eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a778e",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 142
  },
  "hsl": {
    "h": 289.565,
    "s": 9.237,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59462,
    "c": 0.04102,
    "h": 320.4
  },
  "luminance": 0.2055
}

Semantic roles & 50–950 ramp

primary
#8A778E
secondary
#ADB5AB
accent
#B27680
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E10
muted
#7F7E7F

Preview Lab

Preview with #8A778E

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

Preview Lab → · Contrast checker → · Palette generator →

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