#8A7A9A#8A7A9A

#8A7A9A is a mid, muted violet. Relative luminance 0.217; OKLCH L 60.5% C 0.051 H 307.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8A7A9A
RGBrgb(138, 122, 154)
HSLhsl(270, 14%, 54%)
HSVhsv(270, 21%, 60%)
CMYKcmyk(10.4%, 20.8%, 0%, 39.6%)
CIE-LABlab(53.66, 12.55, -14.94)
CIE-LCHlch(53.66, 19.51, 310.02°)
OKLaboklab(60.53% 0.0311 -0.0405)
OKLCHoklch(60.53% 0.051 307.5)
XYZxyz(23.2724, 21.6555, 33.5195)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7A9A #8A9A7A
analogous
#7A7A9A #8A7A9A #9A7A9A
triadic
#8A7A9A #9A8A7A #7A9A8A
tetradic
#8A7A9A #9A7A7A #8A9A7A #7A9A9A
square
#8A7A9A #9A7A7A #8A9A7A #7A9A9A
split-complementary
#8A7A9A #9A9A7A #7A9A7A
monochromatic
#4D4257 #6B5D7A #8A7A9A #A99DB4 #C7C0CF

Accessibility & contrast

On white

3.94
#8A7A9A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8A7A9A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7A9A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7A9A#FFFFFF#000000##000000
##8A7A9A1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#75809B
Deuteranopia (green-blind)
#788099
Tritanopia (blue-blind)
#887E85
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a7a9a;
/* rgb */ color: rgb(138, 122, 154);
/* oklch */ color: oklch(60.5% 0.051 307.5);
Tailwind
colors: {
  custom: {
    50: '#aca0b7',
    500: '#8a7a9a',
    950: '#000000',
  },
}
SCSS
$custom: #8a7a9a;
$custom-light: #aca0b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7a9a",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 154
  },
  "hsl": {
    "h": 270,
    "s": 13.675,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60533,
    "c": 0.05109,
    "h": 307.5
  },
  "luminance": 0.21655
}

Semantic roles & 50–950 ramp

primary
#8A7A9A
secondary
#B8BFB1
accent
#B77194
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #8A7A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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