#8A8196#8A8196

#8A8196 is a mid, muted violet. Relative luminance 0.233; OKLCH L 61.8% C 0.033 H 304.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8A8196
RGBrgb(138, 129, 150)
HSLhsl(266, 9%, 55%)
HSVhsv(266, 14%, 59%)
CMYKcmyk(8%, 14%, 0%, 41.2%)
CIE-LABlab(55.39, 7.61, -10.02)
CIE-LCHlch(55.39, 12.58, 307.21°)
OKLaboklab(61.83% 0.0188 -0.027)
OKLCHoklch(61.83% 0.033 304.8)
XYZxyz(23.8355, 23.3058, 32.0910)
Luminance0.2331 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8196 #8D9681
analogous
#818396 #8A8196 #958196
triadic
#8A8196 #968A81 #81968A
tetradic
#8A8196 #968183 #8D9681 #819695
square
#8A8196 #968183 #8D9681 #819695
split-complementary
#8A8196 #969581 #839681
monochromatic
#4D4755 #6B6377 #8A8196 #A9A2B2 #C8C4CE

Accessibility & contrast

On white

3.71
#8A8196 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#8A8196 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8196
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8196#FFFFFF#000000##000000
##8A81961.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8497
Deuteranopia (green-blind)
#7F8595
Tritanopia (blue-blind)
#888488
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a8196;
/* rgb */ color: rgb(138, 129, 150);
/* oklch */ color: oklch(61.8% 0.033 304.8);
Tailwind
colors: {
  custom: {
    50: '#aca5b4',
    500: '#8a8196',
    950: '#000000',
  },
}
SCSS
$custom: #8a8196;
$custom-light: #aca5b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8196",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 150
  },
  "hsl": {
    "h": 265.714,
    "s": 9.091,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61827,
    "c": 0.03284,
    "h": 304.8
  },
  "luminance": 0.23306
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8196

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

Preview Lab → · Contrast checker → · Palette generator →

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