#8A7A96#8A7A96

#8A7A96 is a mid, muted violet. Relative luminance 0.215; OKLCH L 60.4% C 0.046 H 310.6°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8A7A96
RGBrgb(138, 122, 150)
HSLhsl(274, 12%, 53%)
HSVhsv(274, 19%, 59%)
CMYKcmyk(8%, 18.7%, 0%, 41.2%)
CIE-LABlab(53.52, 11.68, -12.83)
CIE-LCHlch(53.52, 17.35, 312.32°)
OKLaboklab(60.38% 0.0297 -0.0346)
OKLCHoklch(60.38% 0.046 310.6)
XYZxyz(22.9448, 21.5245, 31.7941)
Luminance0.2152 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7A96 #86967A
analogous
#7C7A96 #8A7A96 #967A94
triadic
#8A7A96 #968A7A #7A968A
tetradic
#8A7A96 #967C7A #86967A #7A9496
square
#8A7A96 #967C7A #86967A #7A9496
split-complementary
#8A7A96 #94967A #7A967C
monochromatic
#4C4254 #6B5D76 #8A7A96 #A89CB1 #C6BECC

Accessibility & contrast

On white

3.96
#8A7A96 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#8A7A96 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7A96
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7A96#FFFFFF#000000##000000
##8A7A961.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#767F97
Deuteranopia (green-blind)
#798095
Tritanopia (blue-blind)
#897D83
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a7a96;
/* rgb */ color: rgb(138, 122, 150);
/* oklch */ color: oklch(60.4% 0.046 310.6);
Tailwind
colors: {
  custom: {
    50: '#aca0b4',
    500: '#8a7a96',
    950: '#000000',
  },
}
SCSS
$custom: #8a7a96;
$custom-light: #aca0b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7a96",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 150
  },
  "hsl": {
    "h": 274.286,
    "s": 11.765,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60377,
    "c": 0.04565,
    "h": 310.6
  },
  "luminance": 0.21524
}

Semantic roles & 50–950 ramp

primary
#8A7A96
secondary
#B5BCB0
accent
#B5738F
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #8A7A96

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

Preview Lab → · Contrast checker → · Palette generator →

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