#8A6A8A#8A6A8A

#8A6A8A is a mid, moderate purple. Relative luminance 0.175; OKLCH L 56.7% C 0.062 H 326.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8A6A8A
RGBrgb(138, 106, 138)
HSLhsl(300, 13%, 48%)
HSVhsv(300, 23%, 54%)
CMYKcmyk(0%, 23.2%, 0%, 45.9%)
CIE-LABlab(48.94, 18.57, -12.68)
CIE-LCHlch(48.94, 22.49, 325.67°)
OKLaboklab(56.71% 0.0513 -0.0341)
OKLCHoklch(56.71% 0.062 326.4)
XYZxyz(20.2222, 17.5468, 26.3614)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6A8A #6A8A6A
analogous
#7A6A8A #8A6A8A #8A6A7A
triadic
#8A6A8A #8A8A6A #6A8A8A
tetradic
#8A6A8A #8A7A6A #6A8A6A #6A7A8A
square
#8A6A8A #8A7A6A #6A8A6A #6A7A8A
split-complementary
#8A6A8A #7A8A6A #6A8A7A
monochromatic
#453545 #674F67 #8A6A8A #A68BA6 #C1AEC1

Accessibility & contrast

On white

4.66
#8A6A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8A6A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6A8A
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6A8A#FFFFFF#000000##FFFFFF
##8A6A8A1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68728B
Deuteranopia (green-blind)
#6F7689
Tritanopia (blue-blind)
#8C6D75
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a6a8a;
/* rgb */ color: rgb(138, 106, 138);
/* oklch */ color: oklch(56.7% 0.062 326.4);
Tailwind
colors: {
  custom: {
    50: '#ac95ac',
    500: '#8a6a8a',
    950: '#000000',
  },
}
SCSS
$custom: #8a6a8a;
$custom-light: #ac95ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6a8a",
  "rgb": {
    "r": 138,
    "g": 106,
    "b": 138
  },
  "hsl": {
    "h": 300,
    "s": 13.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56708,
    "c": 0.06158,
    "h": 326.4
  },
  "luminance": 0.17546
}

Semantic roles & 50–950 ramp

primary
#8A6A8A
secondary
#A0B0A0
accent
#B67272
background
#FAF9FA
surface
#F4F1F4
border
#CECBCE
text
#100D10
muted
#7F7E7F

Preview Lab

Preview with #8A6A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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