#8A8097#8A8097

#8A8097 is a mid, muted violet. Relative luminance 0.231; OKLCH L 61.7% C 0.036 H 305.0°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8A8097
RGBrgb(138, 128, 151)
HSLhsl(266, 10%, 55%)
HSVhsv(266, 15%, 59%)
CMYKcmyk(8.6%, 15.2%, 0%, 40.8%)
CIE-LABlab(55.15, 8.40, -10.95)
CIE-LCHlch(55.15, 13.80, 307.49°)
OKLaboklab(61.66% 0.0207 -0.0295)
OKLCHoklch(61.66% 0.036 305)
XYZxyz(23.7853, 23.0760, 32.4732)
Luminance0.2308 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8097 #8D9780
analogous
#808297 #8A8097 #968097
triadic
#8A8097 #978A80 #80978A
tetradic
#8A8097 #978082 #8D9780 #809796
square
#8A8097 #978082 #8D9780 #809796
split-complementary
#8A8097 #979680 #829780
monochromatic
#4D4756 #6B6278 #8A8097 #A9A2B3 #C8C3CE

Accessibility & contrast

On white

3.74
#8A8097 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8A8097 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8097
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8097#FFFFFF#000000##000000
##8A80971.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8498
Deuteranopia (green-blind)
#7E8496
Tritanopia (blue-blind)
#888388
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a8097;
/* rgb */ color: rgb(138, 128, 151);
/* oklch */ color: oklch(61.7% 0.036 305.0);
Tailwind
colors: {
  custom: {
    50: '#aca4b5',
    500: '#8a8097',
    950: '#000000',
  },
}
SCSS
$custom: #8a8097;
$custom-light: #aca4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8097",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 151
  },
  "hsl": {
    "h": 266.087,
    "s": 9.957,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61655,
    "c": 0.03605,
    "h": 305
  },
  "luminance": 0.23076
}

Semantic roles & 50–950 ramp

primary
#8A8097
secondary
#BABEB5
accent
#B37598
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#100F11
muted
#7F7F80

Preview Lab

Preview with #8A8097

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

Preview Lab → · Contrast checker → · Palette generator →

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