#8E8A9E#8E8A9E

#8E8A9E is a light, muted violet. Relative luminance 0.264; OKLCH L 64.4% C 0.030 H 294.7°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8E8A9E
RGBrgb(142, 138, 158)
HSLhsl(252, 9%, 58%)
HSVhsv(252, 13%, 62%)
CMYKcmyk(10.1%, 12.7%, 0%, 38%)
CIE-LABlab(58.41, 5.55, -10.06)
CIE-LCHlch(58.41, 11.49, 298.89°)
OKLaboklab(64.35% 0.0125 -0.0271)
OKLCHoklch(64.35% 0.03 294.7)
XYZxyz(26.4141, 26.3963, 36.0445)
Luminance0.2640 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8A9E #9A9E8A
analogous
#8A909E #8E8A9E #988A9E
triadic
#8E8A9E #9E8E8A #8A9E8E
tetradic
#8E8A9E #9E8A90 #9A9E8A #8A9E98
square
#8E8A9E #9E8A90 #9A9E8A #8A9E98
split-complementary
#8E8A9E #9E988A #909E8A
monochromatic
#524F5F #6F6A80 #8E8A9E #AEABBA #CFCDD5

Accessibility & contrast

On white

3.34
#8E8A9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#8E8A9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8A9E
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8A9E#FFFFFF#000000##000000
##8E8A9E1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#868D9F
Deuteranopia (green-blind)
#868C9D
Tritanopia (blue-blind)
#8B8D90
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8e8a9e;
/* rgb */ color: rgb(142, 138, 158);
/* oklch */ color: oklch(64.4% 0.030 294.7);
Tailwind
colors: {
  custom: {
    50: '#afacba',
    500: '#8e8a9e',
    950: '#000000',
  },
}
SCSS
$custom: #8e8a9e;
$custom-light: #afacba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8a9e",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 158
  },
  "hsl": {
    "h": 252,
    "s": 9.346,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64355,
    "c": 0.02984,
    "h": 294.7
  },
  "luminance": 0.26396
}

Semantic roles & 50–950 ramp

primary
#8E8A9E
secondary
#C4C6BE
accent
#B275A6
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#101011
muted
#7F7F80

Preview Lab

Preview with #8E8A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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