#8A7E8C#8A7E8C

#8A7E8C is a mid, muted grey. Relative luminance 0.222; OKLCH L 60.8% C 0.025 H 321.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8A7E8C
RGBrgb(138, 126, 140)
HSLhsl(291, 6%, 52%)
HSVhsv(291, 10%, 55%)
CMYKcmyk(1.4%, 10%, 0%, 45.1%)
CIE-LABlab(54.26, 7.27, -5.90)
CIE-LCHlch(54.26, 9.36, 320.94°)
OKLaboklab(60.84% 0.0197 -0.0157)
OKLCHoklch(60.84% 0.025 321.4)
XYZxyz(22.6750, 22.2186, 27.8999)
Luminance0.2222 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7E8C #808C7E
analogous
#837E8C #8A7E8C #8C7E87
triadic
#8A7E8C #8C8A7E #7E8C8A
tetradic
#8A7E8C #8C837E #808C7E #7E878C
square
#8A7E8C #8C837E #808C7E #7E878C
split-complementary
#8A7E8C #878C7E #7E8C83
monochromatic
#4B444C #6B616C #8A7E8C #A79EA9 #C5BFC6

Accessibility & contrast

On white

3.86
#8A7E8C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#8A7E8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7E8C
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7E8C#FFFFFF#000000##000000
##8A7E8C1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D818D
Deuteranopia (green-blind)
#7F828B
Tritanopia (blue-blind)
#8B7F83
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a7e8c;
/* rgb */ color: rgb(138, 126, 140);
/* oklch */ color: oklch(60.8% 0.025 321.4);
Tailwind
colors: {
  custom: {
    50: '#aca3ad',
    500: '#8a7e8c',
    950: '#000000',
  },
}
SCSS
$custom: #8a7e8c;
$custom-light: #aca3ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7e8c",
  "rgb": {
    "r": 138,
    "g": 126,
    "b": 140
  },
  "hsl": {
    "h": 291.429,
    "s": 5.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60843,
    "c": 0.02517,
    "h": 321.4
  },
  "luminance": 0.22218
}

Semantic roles & 50–950 ramp

primary
#8A7E8C
secondary
#B1B6B0
accent
#AF7981
background
#FAFAFA
surface
#F4F3F4
border
#CECDCE
text
#100F10
muted
#7F7F7F

Preview Lab

Preview with #8A7E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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