#8A7C88#8A7C88

#8A7C88 is a mid, muted grey. Relative luminance 0.216; OKLCH L 60.3% C 0.024 H 330.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8A7C88
RGBrgb(138, 124, 136)
HSLhsl(309, 6%, 51%)
HSVhsv(309, 10%, 54%)
CMYKcmyk(0%, 10.1%, 1.4%, 45.9%)
CIE-LABlab(53.60, 7.63, -4.55)
CIE-LCHlch(53.60, 8.88, 329.19°)
OKLaboklab(60.29% 0.0213 -0.012)
OKLCHoklch(60.29% 0.024 330.5)
XYZxyz(22.1322, 21.5964, 26.2904)
Luminance0.2160 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7C88 #7C8A7E
analogous
#857C8A #8A7C88 #8A7C81
triadic
#8A7C88 #888A7C #7C888A
tetradic
#8A7C88 #8A857C #7C8A7E #7C818A
square
#8A7C88 #8A857C #7C8A7E #7C818A
split-complementary
#8A7C88 #818A7C #7C8A85
monochromatic
#4A4249 #6A5F68 #8A7C88 #A79CA5 #C4BDC3

Accessibility & contrast

On white

3.95
#8A7C88 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8A7C88 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7C88
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7C88#FFFFFF#000000##000000
##8A7C881.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7F89
Deuteranopia (green-blind)
#7F8187
Tritanopia (blue-blind)
#8B7D80
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a7c88;
/* rgb */ color: rgb(138, 124, 136);
/* oklch */ color: oklch(60.3% 0.024 330.5);
Tailwind
colors: {
  custom: {
    50: '#aca1aa',
    500: '#8a7c88',
    950: '#000000',
  },
}
SCSS
$custom: #8a7c88;
$custom-light: #aca1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7c88",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 136
  },
  "hsl": {
    "h": 308.571,
    "s": 5.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60286,
    "c": 0.02446,
    "h": 330.5
  },
  "luminance": 0.21596
}

Semantic roles & 50–950 ramp

primary
#8A7C88
secondary
#AEB4AF
accent
#AF8179
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100F10
muted
#7F7E7F

Preview Lab

Preview with #8A7C88

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

Preview Lab → · Contrast checker → · Palette generator →

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