#8A7C9A#8A7C9A

#8A7C9A is a mid, muted violet. Relative luminance 0.222; OKLCH L 60.9% C 0.047 H 306.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8A7C9A
RGBrgb(138, 124, 154)
HSLhsl(268, 13%, 55%)
HSVhsv(268, 19%, 60%)
CMYKcmyk(10.4%, 19.5%, 0%, 39.6%)
CIE-LABlab(54.19, 11.38, -14.14)
CIE-LCHlch(54.19, 18.15, 308.82°)
OKLaboklab(60.94% 0.028 -0.0383)
OKLCHoklch(60.94% 0.047 306.2)
XYZxyz(23.5206, 22.1518, 33.6022)
Luminance0.2215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7C9A #8C9A7C
analogous
#7C7D9A #8A7C9A #997C9A
triadic
#8A7C9A #9A8A7C #7C9A8A
tetradic
#8A7C9A #9A7C7D #8C9A7C #7C9A99
square
#8A7C9A #9A7C7D #8C9A7C #7C9A99
split-complementary
#8A7C9A #9A997C #7D9A7C
monochromatic
#4D4458 #6B5E7A #8A7C9A #A99FB5 #C8C1CF

Accessibility & contrast

On white

3.87
#8A7C9A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#8A7C9A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7C9A
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7C9A#FFFFFF#000000##000000
##8A7C9A1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77819B
Deuteranopia (green-blind)
#7A8299
Tritanopia (blue-blind)
#888086
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a7c9a;
/* rgb */ color: rgb(138, 124, 154);
/* oklch */ color: oklch(60.9% 0.047 306.2);
Tailwind
colors: {
  custom: {
    50: '#aca2b7',
    500: '#8a7c9a',
    950: '#000000',
  },
}
SCSS
$custom: #8a7c9a;
$custom-light: #aca2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7c9a",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 154
  },
  "hsl": {
    "h": 268,
    "s": 12.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60941,
    "c": 0.04745,
    "h": 306.2
  },
  "luminance": 0.22152
}

Semantic roles & 50–950 ramp

primary
#8A7C9A
secondary
#B9BFB3
accent
#B67296
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100F11
muted
#7F7E80

Preview Lab

Preview with #8A7C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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