#8A718B#8A718B

#8A718B is a mid, muted purple. Relative luminance 0.191; OKLCH L 58.1% C 0.049 H 325.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8A718B
RGBrgb(138, 113, 139)
HSLhsl(298, 10%, 49%)
HSVhsv(298, 19%, 55%)
CMYKcmyk(0.7%, 18.7%, 0%, 45.5%)
CIE-LABlab(50.78, 14.65, -10.51)
CIE-LCHlch(50.78, 18.03, 324.36°)
OKLaboklab(58.13% 0.0402 -0.0282)
OKLCHoklch(58.13% 0.049 325)
XYZxyz(21.0460, 19.0780, 26.9948)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A718B #728B71
analogous
#7D718B #8A718B #8B717F
triadic
#8A718B #8B8A71 #718B8A
tetradic
#8A718B #8B7D71 #728B71 #717F8B
square
#8A718B #8B7D71 #728B71 #717F8B
split-complementary
#8A718B #7F8B71 #718B7D
monochromatic
#473A47 #685669 #8A718B #A692A7 #C2B4C2

Accessibility & contrast

On white

4.36
#8A718B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8A718B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A718B
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A718B#FFFFFF#000000##000000
##8A718B1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F778C
Deuteranopia (green-blind)
#757A8A
Tritanopia (blue-blind)
#8C737A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a718b;
/* rgb */ color: rgb(138, 113, 139);
/* oklch */ color: oklch(58.1% 0.049 325.0);
Tailwind
colors: {
  custom: {
    50: '#ac9aac',
    500: '#8a718b',
    950: '#000000',
  },
}
SCSS
$custom: #8a718b;
$custom-light: #ac9aac;
$custom-dark: #000000;
JSON
{
  "hex": "#8a718b",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 139
  },
  "hsl": {
    "h": 297.692,
    "s": 10.317,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58133,
    "c": 0.04909,
    "h": 325
  },
  "luminance": 0.19078
}

Semantic roles & 50–950 ramp

primary
#8A718B
secondary
#A6B2A6
accent
#B37577
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E10
muted
#7F7E7F

Preview Lab

Preview with #8A718B

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

Preview Lab → · Contrast checker → · Palette generator →

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