#8A839B#8A839B

#8A839B is a light, muted violet. Relative luminance 0.240; OKLCH L 62.4% C 0.036 H 298.7°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8A839B
RGBrgb(138, 131, 155)
HSLhsl(258, 11%, 56%)
HSVhsv(258, 15%, 61%)
CMYKcmyk(11%, 15.5%, 0%, 39.2%)
CIE-LABlab(56.09, 7.53, -11.85)
CIE-LCHlch(56.09, 14.04, 302.43°)
OKLaboklab(62.43% 0.0175 -0.032)
OKLCHoklch(62.43% 0.036 298.7)
XYZxyz(24.5128, 24.0024, 34.3455)
Luminance0.2400 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A839B #949B83
analogous
#83889B #8A839B #96839B
triadic
#8A839B #9B8A83 #839B8A
tetradic
#8A839B #9B8388 #949B83 #839B96
square
#8A839B #9B8388 #949B83 #839B96
split-complementary
#8A839B #9B9683 #889B83
monochromatic
#4E495B #6B647C #8A839B #AAA5B6 #CAC7D2

Accessibility & contrast

On white

3.62
#8A839B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8A839B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A839B
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A839B#FFFFFF#000000##000000
##8A839B1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F869C
Deuteranopia (green-blind)
#7F869A
Tritanopia (blue-blind)
#87868B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a839b;
/* rgb */ color: rgb(138, 131, 155);
/* oklch */ color: oklch(62.4% 0.036 298.7);
Tailwind
colors: {
  custom: {
    50: '#aca7b8',
    500: '#8a839b',
    950: '#000000',
  },
}
SCSS
$custom: #8a839b;
$custom-light: #aca7b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a839b",
  "rgb": {
    "r": 138,
    "g": 131,
    "b": 155
  },
  "hsl": {
    "h": 257.5,
    "s": 10.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6243,
    "c": 0.03649,
    "h": 298.7
  },
  "luminance": 0.24002
}

Semantic roles & 50–950 ramp

primary
#8A839B
secondary
#BFC2B8
accent
#B474A1
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#100F11
muted
#7F7F80

Preview Lab

Preview with #8A839B

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

Preview Lab → · Contrast checker → · Palette generator →

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