#8E7C8E#8E7C8E

#8E7C8E is a mid, muted grey. Relative luminance 0.221; OKLCH L 60.9% C 0.034 H 326.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8E7C8E
RGBrgb(142, 124, 142)
HSLhsl(300, 7%, 52%)
HSVhsv(300, 13%, 56%)
CMYKcmyk(0%, 12.7%, 0%, 44.3%)
CIE-LABlab(54.15, 10.29, -7.18)
CIE-LCHlch(54.15, 12.55, 325.11°)
OKLaboklab(60.87% 0.0283 -0.0191)
OKLCHoklch(60.87% 0.034 326)
XYZxyz(23.2448, 22.1194, 28.6309)
Luminance0.2212 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7C8E #7C8E7C
analogous
#857C8E #8E7C8E #8E7C85
triadic
#8E7C8E #8E8E7C #7C8E8E
tetradic
#8E7C8E #8E857C #7C8E7C #7C858E
square
#8E7C8E #8E857C #7C8E7C #7C858E
split-complementary
#8E7C8E #858E7C #7C8E85
monochromatic
#4D434D #6E5F6E #8E7C8E #AA9DAA #C7BEC7

Accessibility & contrast

On white

3.87
#8E7C8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8E7C8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7C8E
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7C8E#FFFFFF#000000##000000
##8E7C8E1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B808F
Deuteranopia (green-blind)
#7F828D
Tritanopia (blue-blind)
#8F7D82
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8e7c8e;
/* rgb */ color: rgb(142, 124, 142);
/* oklch */ color: oklch(60.9% 0.034 326.0);
Tailwind
colors: {
  custom: {
    50: '#afa2af',
    500: '#8e7c8e',
    950: '#000000',
  },
}
SCSS
$custom: #8e7c8e;
$custom-light: #afa2af;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7c8e",
  "rgb": {
    "r": 142,
    "g": 124,
    "b": 142
  },
  "hsl": {
    "h": 300,
    "s": 7.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.6087,
    "c": 0.03419,
    "h": 326
  },
  "luminance": 0.22119
}

Semantic roles & 50–950 ramp

primary
#8E7C8E
secondary
#AFB7AF
accent
#B07777
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100F10
muted
#7F7E7F

Preview Lab

Preview with #8E7C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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