#8A8795#8A8795

#8A8795 is a light, muted grey. Relative luminance 0.249; OKLCH L 63.1% C 0.021 H 295.6°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8A8795
RGBrgb(138, 135, 149)
HSLhsl(253, 6%, 56%)
HSVhsv(253, 9%, 58%)
CMYKcmyk(7.4%, 9.4%, 0%, 41.6%)
CIE-LABlab(56.98, 3.94, -7.06)
CIE-LCHlch(56.98, 8.09, 299.17°)
OKLaboklab(63.06% 0.0091 -0.0189)
OKLCHoklch(63.06% 0.021 295.6)
XYZxyz(24.5690, 24.9011, 31.9400)
Luminance0.2490 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8795 #929587
analogous
#878B95 #8A8795 #918795
triadic
#8A8795 #958A87 #87958A
tetradic
#8A8795 #95878B #929587 #879591
square
#8A8795 #95878B #929587 #879591
split-complementary
#8A8795 #959187 #8B9587
monochromatic
#4E4C56 #6B6876 #8A8795 #AAA7B2 #C9C8CE

Accessibility & contrast

On white

3.51
#8A8795 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8A8795 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8795
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8795#FFFFFF#000000##000000
##8A87951.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#848996
Deuteranopia (green-blind)
#858995
Tritanopia (blue-blind)
#88898B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8795;
/* rgb */ color: rgb(138, 135, 149);
/* oklch */ color: oklch(63.1% 0.021 295.6);
Tailwind
colors: {
  custom: {
    50: '#aca9b4',
    500: '#8a8795',
    950: '#000000',
  },
}
SCSS
$custom: #8a8795;
$custom-light: #aca9b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8795",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 149
  },
  "hsl": {
    "h": 252.857,
    "s": 6.195,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63059,
    "c": 0.021,
    "h": 295.6
  },
  "luminance": 0.24901
}

Semantic roles & 50–950 ramp

primary
#8A8795
secondary
#BEBFB9
accent
#AF79A4
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#101011
muted
#7F7F80

Preview Lab

Preview with #8A8795

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

Preview Lab → · Contrast checker → · Palette generator →

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