#8A7C8E#8A7C8E

#8A7C8E is a mid, muted grey. Relative luminance 0.218; OKLCH L 60.5% C 0.031 H 318.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8A7C8E
RGBrgb(138, 124, 142)
HSLhsl(287, 7%, 52%)
HSVhsv(287, 13%, 56%)
CMYKcmyk(2.8%, 12.7%, 0%, 44.3%)
CIE-LABlab(53.78, 8.83, -7.77)
CIE-LCHlch(53.78, 11.76, 318.68°)
OKLaboklab(60.49% 0.0236 -0.0208)
OKLCHoklch(60.49% 0.031 318.7)
XYZxyz(22.5706, 21.7718, 28.5993)
Luminance0.2177 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7C8E #808E7C
analogous
#817C8E #8A7C8E #8E7C89
triadic
#8A7C8E #8E8A7C #7C8E8A
tetradic
#8A7C8E #8E817C #808E7C #7C898E
square
#8A7C8E #8E817C #808E7C #7C898E
split-complementary
#8A7C8E #898E7C #7C8E81
monochromatic
#4B434D #6B5F6E #8A7C8E #A79DAA #C5BEC7

Accessibility & contrast

On white

3.92
#8A7C8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8A7C8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7C8E
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7C8E#FFFFFF#000000##000000
##8A7C8E1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A808F
Deuteranopia (green-blind)
#7D818D
Tritanopia (blue-blind)
#8A7E82
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a7c8e;
/* rgb */ color: rgb(138, 124, 142);
/* oklch */ color: oklch(60.5% 0.031 318.7);
Tailwind
colors: {
  custom: {
    50: '#aca2af',
    500: '#8a7c8e',
    950: '#000000',
  },
}
SCSS
$custom: #8a7c8e;
$custom-light: #aca2af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7c8e",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 142
  },
  "hsl": {
    "h": 286.667,
    "s": 7.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60494,
    "c": 0.03145,
    "h": 318.7
  },
  "luminance": 0.21772
}

Semantic roles & 50–950 ramp

primary
#8A7C8E
secondary
#B1B7AF
accent
#B07784
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100F10
muted
#7F7E7F

Preview Lab

Preview with #8A7C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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