#8A788C#8A788C

#8A788C is a mid, muted purple. Relative luminance 0.207; OKLCH L 59.6% C 0.037 H 322.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8A788C
RGBrgb(138, 120, 140)
HSLhsl(294, 8%, 51%)
HSVhsv(294, 14%, 55%)
CMYKcmyk(1.4%, 14.3%, 0%, 45.1%)
CIE-LABlab(52.65, 10.76, -8.29)
CIE-LCHlch(52.65, 13.58, 322.39°)
OKLaboklab(59.59% 0.0293 -0.0221)
OKLCHoklch(59.59% 0.037 322.9)
XYZxyz(21.9307, 20.7300, 27.6518)
Luminance0.2073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A788C #7A8C78
analogous
#80788C #8A788C #8C7884
triadic
#8A788C #8C8A78 #788C8A
tetradic
#8A788C #8C8078 #7A8C78 #78848C
square
#8A788C #8C8078 #7A8C78 #78848C
split-complementary
#8A788C #848C78 #788C80
monochromatic
#493F4A #6A5B6B #8A788C #A799A8 #C3BAC4

Accessibility & contrast

On white

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

On black

5.15
#8A788C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A788C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A788C#FFFFFF#000000##000000
##8A788C1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#767C8D
Deuteranopia (green-blind)
#7A7E8B
Tritanopia (blue-blind)
#8B7A7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8a788c;
/* rgb */ color: rgb(138, 120, 140);
/* oklch */ color: oklch(59.6% 0.037 322.9);
Tailwind
colors: {
  custom: {
    50: '#ac9fad',
    500: '#8a788c',
    950: '#000000',
  },
}
SCSS
$custom: #8a788c;
$custom-light: #ac9fad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a788c",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 140
  },
  "hsl": {
    "h": 294,
    "s": 8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59594,
    "c": 0.0367,
    "h": 322.9
  },
  "luminance": 0.2073
}

Semantic roles & 50–950 ramp

primary
#8A788C
secondary
#ACB4AB
accent
#B1777D
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E10
muted
#7F7E7F

Preview Lab

Preview with #8A788C

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

Preview Lab → · Contrast checker → · Palette generator →

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