#8A7882#8A7882

#8A7882 is a mid, muted grey. Relative luminance 0.204; OKLCH L 59.2% C 0.026 H 343.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8A7882
RGBrgb(138, 120, 130)
HSLhsl(327, 7%, 51%)
HSVhsv(327, 13%, 54%)
CMYKcmyk(0%, 13%, 5.8%, 45.9%)
CIE-LABlab(52.34, 8.78, -2.89)
CIE-LCHlch(52.34, 9.25, 341.79°)
OKLaboklab(59.25% 0.0254 -0.0076)
OKLCHoklch(59.25% 0.026 343.4)
XYZxyz(21.2266, 20.4483, 23.9435)
Luminance0.2045 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7882 #788A80
analogous
#89788A #8A7882 #8A7879
triadic
#8A7882 #828A78 #78828A
tetradic
#8A7882 #8A8978 #788A80 #78798A
square
#8A7882 #8A8978 #788A80 #78798A
split-complementary
#8A7882 #798A78 #788A89
monochromatic
#493F44 #695B63 #8A7882 #A699A0 #C3BABF

Accessibility & contrast

On white

4.13
#8A7882 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8A7882 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7882
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7882#FFFFFF#000000##000000
##8A78821.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#797B82
Deuteranopia (green-blind)
#7D7E81
Tritanopia (blue-blind)
#8D787B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a7882;
/* rgb */ color: rgb(138, 120, 130);
/* oklch */ color: oklch(59.2% 0.026 343.4);
Tailwind
colors: {
  custom: {
    50: '#ac9fa6',
    500: '#8a7882',
    950: '#000000',
  },
}
SCSS
$custom: #8a7882;
$custom-light: #ac9fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7882",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 130
  },
  "hsl": {
    "h": 326.667,
    "s": 7.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59248,
    "c": 0.02648,
    "h": 343.4
  },
  "luminance": 0.20448
}

Semantic roles & 50–950 ramp

primary
#8A7882
secondary
#ABB3AE
accent
#B09178
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E0F
muted
#7F7E7F

Preview Lab

Preview with #8A7882

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

Preview Lab → · Contrast checker → · Palette generator →

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