#8A8397#8A8397

#8A8397 is a light, muted violet. Relative luminance 0.239; OKLCH L 62.3% C 0.031 H 301.4°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8A8397
RGBrgb(138, 131, 151)
HSLhsl(261, 9%, 55%)
HSVhsv(261, 13%, 59%)
CMYKcmyk(8.6%, 13.2%, 0%, 40.8%)
CIE-LABlab(55.96, 6.67, -9.74)
CIE-LCHlch(55.96, 11.80, 304.39°)
OKLaboklab(62.28% 0.016 -0.0262)
OKLCHoklch(62.28% 0.031 301.4)
XYZxyz(24.1824, 23.8702, 32.6056)
Luminance0.2387 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8397 #909783
analogous
#838697 #8A8397 #948397
triadic
#8A8397 #978A83 #83978A
tetradic
#8A8397 #978386 #909783 #839794
square
#8A8397 #978386 #909783 #839794
split-complementary
#8A8397 #979483 #869783
monochromatic
#4E4957 #6B6578 #8A8397 #A9A4B3 #C9C6CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8397#FFFFFF#000000##000000
##8A83971.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)
#808698
Deuteranopia (green-blind)
#818696
Tritanopia (blue-blind)
#88868A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8397;
/* rgb */ color: rgb(138, 131, 151);
/* oklch */ color: oklch(62.3% 0.031 301.4);
Tailwind
colors: {
  custom: {
    50: '#aca7b5',
    500: '#8a8397',
    950: '#000000',
  },
}
SCSS
$custom: #8a8397;
$custom-light: #aca7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8397",
  "rgb": {
    "r": 138,
    "g": 131,
    "b": 151
  },
  "hsl": {
    "h": 261,
    "s": 8.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62283,
    "c": 0.03073,
    "h": 301.4
  },
  "luminance": 0.2387
}

Semantic roles & 50–950 ramp

primary
#8A8397
secondary
#BCBFB7
accent
#B2769D
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#100F11
muted
#7F7F80

Preview Lab

Preview with #8A8397

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

Preview Lab → · Contrast checker → · Palette generator →

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