#8A718D#8A718D

#8A718D is a mid, muted purple. Relative luminance 0.191; OKLCH L 58.2% C 0.051 H 322.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8A718D
RGBrgb(138, 113, 141)
HSLhsl(294, 11%, 50%)
HSVhsv(294, 20%, 55%)
CMYKcmyk(2.1%, 19.9%, 0%, 44.7%)
CIE-LABlab(50.85, 15.06, -11.58)
CIE-LCHlch(50.85, 19.00, 322.44°)
OKLaboklab(58.21% 0.0409 -0.0311)
OKLCHoklch(58.21% 0.051 322.7)
XYZxyz(21.1935, 19.1370, 27.7715)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A718D #748D71
analogous
#7C718D #8A718D #8D7182
triadic
#8A718D #8D8A71 #718D8A
tetradic
#8A718D #8D7C71 #748D71 #71828D
square
#8A718D #8D7C71 #748D71 #71828D
split-complementary
#8A718D #828D71 #718D7C
monochromatic
#473B49 #69566B #8A718D #A693A8 #C2B5C4

Accessibility & contrast

On white

4.35
#8A718D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8A718D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A718D
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A718D#FFFFFF#000000##000000
##8A718D1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F778E
Deuteranopia (green-blind)
#747A8C
Tritanopia (blue-blind)
#8B747A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a718d;
/* rgb */ color: rgb(138, 113, 141);
/* oklch */ color: oklch(58.2% 0.051 322.7);
Tailwind
colors: {
  custom: {
    50: '#ac9aae',
    500: '#8a718d',
    950: '#000000',
  },
}
SCSS
$custom: #8a718d;
$custom-light: #ac9aae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a718d",
  "rgb": {
    "r": 138,
    "g": 113,
    "b": 141
  },
  "hsl": {
    "h": 293.571,
    "s": 11.024,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58209,
    "c": 0.05141,
    "h": 322.7
  },
  "luminance": 0.19137
}

Semantic roles & 50–950 ramp

primary
#8A718D
secondary
#A8B3A7
accent
#B4747B
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E10
muted
#7F7E7F

Preview Lab

Preview with #8A718D

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

Preview Lab → · Contrast checker → · Palette generator →

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