#8A7A8E#8A7A8E

#8A7A8E is a mid, muted purple. Relative luminance 0.213; OKLCH L 60.1% C 0.035 H 319.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8A7A8E
RGBrgb(138, 122, 142)
HSLhsl(288, 8%, 52%)
HSVhsv(288, 14%, 56%)
CMYKcmyk(2.8%, 14.1%, 0%, 44.3%)
CIE-LABlab(53.25, 10.00, -8.56)
CIE-LCHlch(53.25, 13.16, 319.41°)
OKLaboklab(60.08% 0.0268 -0.0229)
OKLCHoklch(60.08% 0.035 319.4)
XYZxyz(22.3225, 21.2756, 28.5166)
Luminance0.2127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7A8E #7E8E7A
analogous
#807A8E #8A7A8E #8E7A88
triadic
#8A7A8E #8E8A7A #7A8E8A
tetradic
#8A7A8E #8E807A #7E8E7A #7A888E
square
#8A7A8E #8E807A #7E8E7A #7A888E
split-complementary
#8A7A8E #888E7A #7A8E80
monochromatic
#4A414D #6A5D6E #8A7A8E #A79BAA #C4BCC6

Accessibility & contrast

On white

4.00
#8A7A8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8A7A8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7A8E
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7A8E#FFFFFF#000000##000000
##8A7A8E1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#787E8F
Deuteranopia (green-blind)
#7B808D
Tritanopia (blue-blind)
#8A7C81
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a7a8e;
/* rgb */ color: rgb(138, 122, 142);
/* oklch */ color: oklch(60.1% 0.035 319.4);
Tailwind
colors: {
  custom: {
    50: '#aca0af',
    500: '#8a7a8e',
    950: '#000000',
  },
}
SCSS
$custom: #8a7a8e;
$custom-light: #aca0af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7a8e",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 142
  },
  "hsl": {
    "h": 288,
    "s": 8.13,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60079,
    "c": 0.03527,
    "h": 319.4
  },
  "luminance": 0.21275
}

Semantic roles & 50–950 ramp

primary
#8A7A8E
secondary
#AFB6AE
accent
#B17782
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E10
muted
#7F7E7F

Preview Lab

Preview with #8A7A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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