#8A778C#8A778C

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

Color values

HEX#8A778C
RGBrgb(138, 119, 140)
HSLhsl(294, 8%, 51%)
HSVhsv(294, 15%, 55%)
CMYKcmyk(1.4%, 15%, 0%, 45.1%)
CIE-LABlab(52.39, 11.34, -8.68)
CIE-LCHlch(52.39, 14.28, 322.56°)
OKLaboklab(59.39% 0.0309 -0.0232)
OKLCHoklch(59.39% 0.039 323)
XYZxyz(21.8110, 20.4907, 27.6120)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A778C #798C77
analogous
#7F778C #8A778C #8C7783
triadic
#8A778C #8C8A77 #778C8A
tetradic
#8A778C #8C7F77 #798C77 #77838C
square
#8A778C #8C7F77 #798C77 #77838C
split-complementary
#8A778C #838C77 #778C7F
monochromatic
#493F4A #6A5B6B #8A778C #A798A8 #C3B9C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A778C#FFFFFF#000000##000000
##8A778C1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a778c;
/* rgb */ color: rgb(138, 119, 140);
/* oklch */ color: oklch(59.4% 0.039 323.0);
Tailwind
colors: {
  custom: {
    50: '#ac9ead',
    500: '#8a778c',
    950: '#000000',
  },
}
SCSS
$custom: #8a778c;
$custom-light: #ac9ead;
$custom-dark: #000000;
JSON
{
  "hex": "#8a778c",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 140
  },
  "hsl": {
    "h": 294.286,
    "s": 8.367,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59389,
    "c": 0.03863,
    "h": 323
  },
  "luminance": 0.2049
}

Semantic roles & 50–950 ramp

primary
#8A778C
secondary
#ACB4AB
accent
#B1767C
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E10
muted
#7F7E7F

Preview Lab

Preview with #8A778C

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

Preview Lab → · Contrast checker → · Palette generator →

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