#8A8396#8A8396

#8A8396 is a light, muted violet. Relative luminance 0.238; OKLCH L 62.2% C 0.029 H 302.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8A8396
RGBrgb(138, 131, 150)
HSLhsl(262, 8%, 55%)
HSVhsv(262, 13%, 59%)
CMYKcmyk(8%, 12.7%, 0%, 41.2%)
CIE-LABlab(55.93, 6.45, -9.21)
CIE-LCHlch(55.93, 11.25, 305.01°)
OKLaboklab(62.25% 0.0157 -0.0248)
OKLCHoklch(62.25% 0.029 302.3)
XYZxyz(24.1015, 23.8379, 32.1797)
Luminance0.2384 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8396 #8F9683
analogous
#838596 #8A8396 #938396
triadic
#8A8396 #968A83 #83968A
tetradic
#8A8396 #968385 #8F9683 #839693
square
#8A8396 #968385 #8F9683 #839693
split-complementary
#8A8396 #969383 #859683
monochromatic
#4E4956 #6C6577 #8A8396 #A9A4B2 #C9C5CE

Accessibility & contrast

On white

3.64
#8A8396 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8A8396 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8396
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8396#FFFFFF#000000##000000
##8A83961.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#808697
Deuteranopia (green-blind)
#818695
Tritanopia (blue-blind)
#888589
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8396;
/* rgb */ color: rgb(138, 131, 150);
/* oklch */ color: oklch(62.2% 0.029 302.3);
Tailwind
colors: {
  custom: {
    50: '#aca7b4',
    500: '#8a8396',
    950: '#000000',
  },
}
SCSS
$custom: #8a8396;
$custom-light: #aca7b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8396",
  "rgb": {
    "r": 138,
    "g": 131,
    "b": 150
  },
  "hsl": {
    "h": 262.105,
    "s": 8.297,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62247,
    "c": 0.0293,
    "h": 302.3
  },
  "luminance": 0.23838
}

Semantic roles & 50–950 ramp

primary
#8A8396
secondary
#BBBEB6
accent
#B1769C
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#100F11
muted
#7F7F80

Preview Lab

Preview with #8A8396

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

Preview Lab → · Contrast checker → · Palette generator →

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