#8A8096#8A8096

#8A8096 is a mid, muted violet. Relative luminance 0.230; OKLCH L 61.6% C 0.035 H 305.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8A8096
RGBrgb(138, 128, 150)
HSLhsl(267, 9%, 55%)
HSVhsv(267, 15%, 59%)
CMYKcmyk(8%, 14.7%, 0%, 41.2%)
CIE-LABlab(55.12, 8.19, -10.42)
CIE-LCHlch(55.12, 13.25, 308.15°)
OKLaboklab(61.62% 0.0203 -0.0281)
OKLCHoklch(61.62% 0.035 305.9)
XYZxyz(23.7044, 23.0437, 32.0473)
Luminance0.2304 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8096 #8C9680
analogous
#808196 #8A8096 #958096
triadic
#8A8096 #968A80 #80968A
tetradic
#8A8096 #968081 #8C9680 #809695
square
#8A8096 #968081 #8C9680 #809695
split-complementary
#8A8096 #969580 #819680
monochromatic
#4D4655 #6B6277 #8A8096 #A9A2B2 #C8C3CD

Accessibility & contrast

On white

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

On black

5.61
#8A8096 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8096
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8096#FFFFFF#000000##000000
##8A80961.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8497
Deuteranopia (green-blind)
#7E8495
Tritanopia (blue-blind)
#888387
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a8096;
/* rgb */ color: rgb(138, 128, 150);
/* oklch */ color: oklch(61.6% 0.035 305.9);
Tailwind
colors: {
  custom: {
    50: '#aca4b4',
    500: '#8a8096',
    950: '#000000',
  },
}
SCSS
$custom: #8a8096;
$custom-light: #aca4b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8096",
  "rgb": {
    "r": 138,
    "g": 128,
    "b": 150
  },
  "hsl": {
    "h": 267.273,
    "s": 9.483,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61618,
    "c": 0.03464,
    "h": 305.9
  },
  "luminance": 0.23044
}

Semantic roles & 50–950 ramp

primary
#8A8096
secondary
#B9BEB4
accent
#B27597
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#100F11
muted
#7F7F80

Preview Lab

Preview with #8A8096

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

Preview Lab → · Contrast checker → · Palette generator →

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