#8A7B8A#8A7B8A

#8A7B8A is a mid, muted grey. Relative luminance 0.214; OKLCH L 60.1% C 0.029 H 325.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8A7B8A
RGBrgb(138, 123, 138)
HSLhsl(300, 6%, 51%)
HSVhsv(300, 11%, 54%)
CMYKcmyk(0%, 10.9%, 0%, 45.9%)
CIE-LABlab(53.39, 8.60, -6.02)
CIE-LCHlch(53.39, 10.50, 325.02°)
OKLaboklab(60.15% 0.0237 -0.016)
OKLCHoklch(60.15% 0.029 325.9)
XYZxyz(22.1510, 21.4044, 27.0044)
Luminance0.2140 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7B8A #7B8A7B
analogous
#827B8A #8A7B8A #8A7B82
triadic
#8A7B8A #8A8A7B #7B8A8A
tetradic
#8A7B8A #8A827B #7B8A7B #7B828A
square
#8A7B8A #8A827B #7B8A7B #7B828A
split-complementary
#8A7B8A #828A7B #7B8A82
monochromatic
#494149 #6A5E6A #8A7B8A #A79BA7 #C4BCC4

Accessibility & contrast

On white

3.98
#8A7B8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8A7B8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7B8A
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7B8A#FFFFFF#000000##000000
##8A7B8A1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7E8B
Deuteranopia (green-blind)
#7D8089
Tritanopia (blue-blind)
#8B7C80
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a7b8a;
/* rgb */ color: rgb(138, 123, 138);
/* oklch */ color: oklch(60.1% 0.029 325.9);
Tailwind
colors: {
  custom: {
    50: '#aca1ac',
    500: '#8a7b8a',
    950: '#000000',
  },
}
SCSS
$custom: #8a7b8a;
$custom-light: #aca1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7b8a",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 6.024,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60146,
    "c": 0.02859,
    "h": 325.9
  },
  "luminance": 0.21404
}

Semantic roles & 50–950 ramp

primary
#8A7B8A
secondary
#ADB4AD
accent
#AF7979
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E10
muted
#7F7E7F

Preview Lab

Preview with #8A7B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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