#8A849E#8A849E

#8A849E is a light, muted violet. Relative luminance 0.244; OKLCH L 62.8% C 0.039 H 295.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8A849E
RGBrgb(138, 132, 158)
HSLhsl(254, 12%, 57%)
HSVhsv(254, 16%, 62%)
CMYKcmyk(12.7%, 16.5%, 0%, 38%)
CIE-LABlab(56.46, 7.61, -13.02)
CIE-LCHlch(56.46, 15.08, 300.31°)
OKLaboklab(62.75% 0.0171 -0.0353)
OKLCHoklch(62.75% 0.039 295.8)
XYZxyz(24.9028, 24.3743, 35.7339)
Luminance0.2437 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A849E #989E84
analogous
#848B9E #8A849E #97849E
triadic
#8A849E #9E8A84 #849E8A
tetradic
#8A849E #9E848B #989E84 #849E97
square
#8A849E #9E848B #989E84 #849E97
split-complementary
#8A849E #9E9784 #8B9E84
monochromatic
#4E4A5E #6B6580 #8A849E #ABA6B9 #CBC8D4

Accessibility & contrast

On white

3.57
#8A849E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#8A849E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A849E
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A849E#FFFFFF#000000##000000
##8A849E1.003.575.875.87
#FFFFFF3.571.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F889F
Deuteranopia (green-blind)
#7F879D
Tritanopia (blue-blind)
#86888D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a849e;
/* rgb */ color: rgb(138, 132, 158);
/* oklch */ color: oklch(62.8% 0.039 295.8);
Tailwind
colors: {
  custom: {
    50: '#aca7ba',
    500: '#8a849e',
    950: '#000000',
  },
}
SCSS
$custom: #8a849e;
$custom-light: #aca7ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8a849e",
  "rgb": {
    "r": 138,
    "g": 132,
    "b": 158
  },
  "hsl": {
    "h": 253.846,
    "s": 11.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62752,
    "c": 0.03918,
    "h": 295.8
  },
  "luminance": 0.24374
}

Semantic roles & 50–950 ramp

primary
#8A849E
secondary
#C2C4BA
accent
#B573A6
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#100F11
muted
#7F7F80

Preview Lab

Preview with #8A849E

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

Preview Lab → · Contrast checker → · Palette generator →

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