#8A6786#8A6786

#8A6786 is a mid, moderate purple. Relative luminance 0.168; OKLCH L 56.0% C 0.063 H 330.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8A6786
RGBrgb(138, 103, 134)
HSLhsl(307, 15%, 47%)
HSVhsv(307, 25%, 54%)
CMYKcmyk(0%, 25.4%, 2.9%, 45.9%)
CIE-LABlab(48.04, 19.54, -11.67)
CIE-LCHlch(48.04, 22.76, 329.16°)
OKLaboklab(55.97% 0.0548 -0.0313)
OKLCHoklch(55.97% 0.063 330.3)
XYZxyz(19.6342, 16.8256, 24.7630)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6786 #678A6B
analogous
#7D678A #8A6786 #8A6775
triadic
#8A6786 #868A67 #67868A
tetradic
#8A6786 #8A7D67 #678A6B #67758A
square
#8A6786 #8A7D67 #678A6B #67758A
split-complementary
#8A6786 #758A67 #678A7D
monochromatic
#443342 #674D64 #8A6786 #A688A3 #C0ABBE

Accessibility & contrast

On white

4.81
#8A6786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8A6786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6786
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6786#FFFFFF#000000##FFFFFF
##8A67861.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666F87
Deuteranopia (green-blind)
#6E7485
Tritanopia (blue-blind)
#8D6972
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a6786;
/* rgb */ color: rgb(138, 103, 134);
/* oklch */ color: oklch(56.0% 0.063 330.3);
Tailwind
colors: {
  custom: {
    50: '#ac92a9',
    500: '#8a6786',
    950: '#000000',
  },
}
SCSS
$custom: #8a6786;
$custom-light: #ac92a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6786",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 134
  },
  "hsl": {
    "h": 306.857,
    "s": 14.523,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55969,
    "c": 0.06312,
    "h": 330.3
  },
  "luminance": 0.16825
}

Semantic roles & 50–950 ramp

primary
#8A6786
secondary
#9DAF9F
accent
#B77970
background
#FAF9FA
surface
#F4F1F4
border
#CECBCE
text
#100D0F
muted
#7F7E7F

Preview Lab

Preview with #8A6786

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

Preview Lab → · Contrast checker → · Palette generator →

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