#8A7886#8A7886

#8A7886 is a mid, muted grey. Relative luminance 0.206; OKLCH L 59.4% C 0.030 H 333.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8A7886
RGBrgb(138, 120, 134)
HSLhsl(313, 7%, 51%)
HSVhsv(313, 13%, 54%)
CMYKcmyk(0%, 13%, 2.9%, 45.9%)
CIE-LABlab(52.46, 9.56, -5.06)
CIE-LCHlch(52.46, 10.81, 332.12°)
OKLaboklab(59.38% 0.027 -0.0134)
OKLCHoklch(59.38% 0.03 333.6)
XYZxyz(21.5003, 20.5578, 25.3851)
Luminance0.2056 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7886 #788A7C
analogous
#85788A #8A7886 #8A787D
triadic
#8A7886 #868A78 #78868A
tetradic
#8A7886 #8A8578 #788A7C #787D8A
square
#8A7886 #8A8578 #788A7C #787D8A
split-complementary
#8A7886 #7D8A78 #788A85
monochromatic
#493F46 #695B66 #8A7886 #A699A3 #C3BAC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A7886#FFFFFF#000000##000000
##8A78861.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)
#787C87
Deuteranopia (green-blind)
#7C7E85
Tritanopia (blue-blind)
#8C797D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a7886;
/* rgb */ color: rgb(138, 120, 134);
/* oklch */ color: oklch(59.4% 0.030 333.6);
Tailwind
colors: {
  custom: {
    50: '#ac9fa9',
    500: '#8a7886',
    950: '#000000',
  },
}
SCSS
$custom: #8a7886;
$custom-light: #ac9fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7886",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 134
  },
  "hsl": {
    "h": 313.333,
    "s": 7.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59383,
    "c": 0.0301,
    "h": 333.6
  },
  "luminance": 0.20557
}

Semantic roles & 50–950 ramp

primary
#8A7886
secondary
#ABB3AD
accent
#B08478
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E0F
muted
#7F7E7F

Preview Lab

Preview with #8A7886

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

Preview Lab → · Contrast checker → · Palette generator →

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