#8E798E#8E798E

#8E798E is a mid, muted purple. Relative luminance 0.214; OKLCH L 60.3% C 0.040 H 326.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8E798E
RGBrgb(142, 121, 142)
HSLhsl(300, 9%, 52%)
HSVhsv(300, 15%, 56%)
CMYKcmyk(0%, 14.8%, 0%, 44.3%)
CIE-LABlab(53.36, 12.04, -8.36)
CIE-LCHlch(53.36, 14.65, 325.23°)
OKLaboklab(60.26% 0.0332 -0.0223)
OKLCHoklch(60.26% 0.04 326.1)
XYZxyz(22.8746, 21.3789, 28.5075)
Luminance0.2138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E798E #798E79
analogous
#84798E #8E798E #8E7984
triadic
#8E798E #8E8E79 #798E8E
tetradic
#8E798E #8E8479 #798E79 #79848E
square
#8E798E #8E8479 #798E79 #79848E
split-complementary
#8E798E #848E79 #798E84
monochromatic
#4C404C #6D5C6D #8E798E #AA9AAA #C6BBC6

Accessibility & contrast

On white

3.98
#8E798E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8E798E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E798E
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E798E#FFFFFF#000000##000000
##8E798E1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#787E8F
Deuteranopia (green-blind)
#7C808D
Tritanopia (blue-blind)
#8F7B80
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8e798e;
/* rgb */ color: rgb(142, 121, 142);
/* oklch */ color: oklch(60.3% 0.040 326.1);
Tailwind
colors: {
  custom: {
    50: '#af9faf',
    500: '#8e798e',
    950: '#000000',
  },
}
SCSS
$custom: #8e798e;
$custom-light: #af9faf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e798e",
  "rgb": {
    "r": 142,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 300,
    "s": 8.502,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60256,
    "c": 0.03997,
    "h": 326.1
  },
  "luminance": 0.21379
}

Semantic roles & 50–950 ramp

primary
#8E798E
secondary
#ADB6AD
accent
#B27676
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E10
muted
#7F7E7F

Preview Lab

Preview with #8E798E

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

Preview Lab → · Contrast checker → · Palette generator →

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