#8A6C7E#8A6C7E

#8A6C7E is a mid, muted pink. Relative luminance 0.176; OKLCH L 56.7% C 0.046 H 342.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8A6C7E
RGBrgb(138, 108, 126)
HSLhsl(324, 12%, 48%)
HSVhsv(324, 22%, 54%)
CMYKcmyk(0%, 21.7%, 8.7%, 45.9%)
CIE-LABlab(49.05, 15.06, -5.39)
CIE-LCHlch(49.05, 15.99, 340.30°)
OKLaboklab(56.66% 0.0436 -0.0142)
OKLCHoklch(56.66% 0.046 342)
XYZxyz(19.6095, 17.6354, 22.1056)
Luminance0.1764 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6C7E #6C8A78
analogous
#876C8A #8A6C7E #8A6C6F
triadic
#8A6C7E #7E8A6C #6C7E8A
tetradic
#8A6C7E #8A876C #6C8A78 #6C6F8A
square
#8A6C7E #8A876C #6C8A78 #6C6F8A
split-complementary
#8A6C7E #6F8A6C #6C8A87
monochromatic
#45363F #68515F #8A6C7E #A68D9C #C1B0BA

Accessibility & contrast

On white

4.64
#8A6C7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8A6C7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6C7E
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6C7E#FFFFFF#000000##FFFFFF
##8A6C7E1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D727F
Deuteranopia (green-blind)
#74767D
Tritanopia (blue-blind)
#8E6C72
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a6c7e;
/* rgb */ color: rgb(138, 108, 126);
/* oklch */ color: oklch(56.7% 0.046 342.0);
Tailwind
colors: {
  custom: {
    50: '#ac96a3',
    500: '#8a6c7e',
    950: '#000000',
  },
}
SCSS
$custom: #8a6c7e;
$custom-light: #ac96a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6c7e",
  "rgb": {
    "r": 138,
    "g": 108,
    "b": 126
  },
  "hsl": {
    "h": 324,
    "s": 12.195,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56658,
    "c": 0.04588,
    "h": 342
  },
  "luminance": 0.17635
}

Semantic roles & 50–950 ramp

primary
#8A6C7E
secondary
#A2B0A7
accent
#B58D73
background
#FAF9FA
surface
#F4F2F3
border
#CECCCD
text
#100D0F
muted
#7F7E7F

Preview Lab

Preview with #8A6C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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