#8A7785#8A7785

#8A7785 is a mid, muted grey. Relative luminance 0.203; OKLCH L 59.1% C 0.031 H 335.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8A7785
RGBrgb(138, 119, 133)
HSLhsl(316, 8%, 50%)
HSVhsv(316, 14%, 54%)
CMYKcmyk(0%, 13.8%, 3.6%, 45.9%)
CIE-LABlab(52.16, 9.95, -4.91)
CIE-LCHlch(52.16, 11.09, 333.72°)
OKLaboklab(59.14% 0.0282 -0.013)
OKLCHoklch(59.14% 0.031 335.3)
XYZxyz(21.3112, 20.2908, 24.9796)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7785 #778A7C
analogous
#85778A #8A7785 #8A777B
triadic
#8A7785 #858A77 #77858A
tetradic
#8A7785 #8A8577 #778A7C #777B8A
square
#8A7785 #8A8577 #778A7C #777B8A
split-complementary
#8A7785 #7B8A77 #778A85
monochromatic
#483E46 #695B65 #8A7785 #A698A3 #C3B9C0

Accessibility & contrast

On white

4.15
#8A7785 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8A7785 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7785
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7785#FFFFFF#000000##000000
##8A77851.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#777B86
Deuteranopia (green-blind)
#7B7D84
Tritanopia (blue-blind)
#8C787C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a7785;
/* rgb */ color: rgb(138, 119, 133);
/* oklch */ color: oklch(59.1% 0.031 335.3);
Tailwind
colors: {
  custom: {
    50: '#ac9ea8',
    500: '#8a7785',
    950: '#000000',
  },
}
SCSS
$custom: #8a7785;
$custom-light: #ac9ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7785",
  "rgb": {
    "r": 138,
    "g": 119,
    "b": 133
  },
  "hsl": {
    "h": 315.789,
    "s": 7.51,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59142,
    "c": 0.03104,
    "h": 335.3
  },
  "luminance": 0.2029
}

Semantic roles & 50–950 ramp

primary
#8A7785
secondary
#AAB3AC
accent
#B18677
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E0F
muted
#7F7E7F

Preview Lab

Preview with #8A7785

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

Preview Lab → · Contrast checker → · Palette generator →

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