#8A7983#8A7983

#8A7983 is a mid, muted grey. Relative luminance 0.207; OKLCH L 59.5% C 0.025 H 341.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8A7983
RGBrgb(138, 121, 131)
HSLhsl(325, 7%, 51%)
HSVhsv(325, 12%, 54%)
CMYKcmyk(0%, 12.3%, 5.1%, 45.9%)
CIE-LABlab(52.64, 8.39, -3.04)
CIE-LCHlch(52.64, 8.93, 340.11°)
OKLaboklab(59.49% 0.0242 -0.008)
OKLCHoklch(59.49% 0.025 341.7)
XYZxyz(21.4149, 20.7171, 24.3390)
Luminance0.2072 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7983 #798A80
analogous
#88798A #8A7983 #8A797A
triadic
#8A7983 #838A79 #79838A
tetradic
#8A7983 #8A8879 #798A80 #797A8A
square
#8A7983 #8A8879 #798A80 #797A8A
split-complementary
#8A7983 #7A8A79 #798A88
monochromatic
#494045 #6A5C64 #8A7983 #A79AA1 #C3BABF

Accessibility & contrast

On white

4.08
#8A7983 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#8A7983 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7983
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7983#FFFFFF#000000##000000
##8A79831.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7C83
Deuteranopia (green-blind)
#7D7F83
Tritanopia (blue-blind)
#8C797C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a7983;
/* rgb */ color: rgb(138, 121, 131);
/* oklch */ color: oklch(59.5% 0.025 341.7);
Tailwind
colors: {
  custom: {
    50: '#ac9fa7',
    500: '#8a7983',
    950: '#000000',
  },
}
SCSS
$custom: #8a7983;
$custom-light: #ac9fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7983",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 131
  },
  "hsl": {
    "h": 324.706,
    "s": 6.773,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5949,
    "c": 0.02544,
    "h": 341.7
  },
  "luminance": 0.20717
}

Semantic roles & 50–950 ramp

primary
#8A7983
secondary
#ACB3AF
accent
#B08F78
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E0F
muted
#7F7E7F

Preview Lab

Preview with #8A7983

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

Preview Lab → · Contrast checker → · Palette generator →

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