#8A7883#8A7883

#8A7883 is a mid, muted grey. Relative luminance 0.205; OKLCH L 59.3% C 0.027 H 340.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8A7883
RGBrgb(138, 120, 131)
HSLhsl(323, 7%, 51%)
HSVhsv(323, 13%, 54%)
CMYKcmyk(0%, 13%, 5.1%, 45.9%)
CIE-LABlab(52.37, 8.98, -3.43)
CIE-LCHlch(52.37, 9.61, 339.07°)
OKLaboklab(59.28% 0.0258 -0.009)
OKLCHoklch(59.28% 0.027 340.7)
XYZxyz(21.2940, 20.4753, 24.2987)
Luminance0.2047 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7883 #788A7F
analogous
#88788A #8A7883 #8A787A
triadic
#8A7883 #838A78 #78838A
tetradic
#8A7883 #8A8878 #788A7F #787A8A
square
#8A7883 #8A8878 #788A7F #787A8A
split-complementary
#8A7883 #7A8A78 #788A88
monochromatic
#493F45 #695B64 #8A7883 #A699A1 #C3BABF

Accessibility & contrast

On white

4.12
#8A7883 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8A7883 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7883
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7883#FFFFFF#000000##000000
##8A78831.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#797B83
Deuteranopia (green-blind)
#7C7E82
Tritanopia (blue-blind)
#8C787C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a7883;
/* rgb */ color: rgb(138, 120, 131);
/* oklch */ color: oklch(59.3% 0.027 340.7);
Tailwind
colors: {
  custom: {
    50: '#ac9fa7',
    500: '#8a7883',
    950: '#000000',
  },
}
SCSS
$custom: #8a7883;
$custom-light: #ac9fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7883",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 131
  },
  "hsl": {
    "h": 323.333,
    "s": 7.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59282,
    "c": 0.02731,
    "h": 340.7
  },
  "luminance": 0.20475
}

Semantic roles & 50–950 ramp

primary
#8A7883
secondary
#ABB3AE
accent
#B08E78
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E0F
muted
#7F7E7F

Preview Lab

Preview with #8A7883

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

Preview Lab → · Contrast checker → · Palette generator →

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