#8A7186#8A7186

#8A7186 is a mid, muted purple. Relative luminance 0.189; OKLCH L 57.9% C 0.044 H 331.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8A7186
RGBrgb(138, 113, 134)
HSLhsl(310, 10%, 49%)
HSVhsv(310, 18%, 54%)
CMYKcmyk(0%, 18.1%, 2.9%, 45.9%)
CIE-LABlab(50.61, 13.65, -7.81)
CIE-LCHlch(50.61, 15.73, 330.24°)
OKLaboklab(57.95% 0.0384 -0.0208)
OKLCHoklch(57.95% 0.044 331.5)
XYZxyz(20.6890, 18.9352, 25.1146)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7186 #718A75
analogous
#82718A #8A7186 #8A717A
triadic
#8A7186 #868A71 #71868A
tetradic
#8A7186 #8A8271 #718A75 #717A8A
square
#8A7186 #8A8271 #718A75 #717A8A
split-complementary
#8A7186 #7A8A71 #718A82
monochromatic
#473A45 #685565 #8A7186 #A692A3 #C2B4BF

Accessibility & contrast

On white

4.39
#8A7186 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8A7186 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7186
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7186#FFFFFF#000000##000000
##8A71861.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#717687
Deuteranopia (green-blind)
#767A85
Tritanopia (blue-blind)
#8C7278
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a7186;
/* rgb */ color: rgb(138, 113, 134);
/* oklch */ color: oklch(57.9% 0.044 331.5);
Tailwind
colors: {
  custom: {
    50: '#ac9aa9',
    500: '#8a7186',
    950: '#000000',
  },
}
SCSS
$custom: #8a7186;
$custom-light: #ac9aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7186",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 134
  },
  "hsl": {
    "h": 309.6,
    "s": 9.96,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57949,
    "c": 0.04364,
    "h": 331.5
  },
  "luminance": 0.18935
}

Semantic roles & 50–950 ramp

primary
#8A7186
secondary
#A6B1A7
accent
#B37F75
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E0F
muted
#7F7E7F

Preview Lab

Preview with #8A7186

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

Preview Lab → · Contrast checker → · Palette generator →

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