#8A6789#8A6789

#8A6789 is a mid, moderate purple. Relative luminance 0.169; OKLCH L 56.1% C 0.066 H 327.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8A6789
RGBrgb(138, 103, 137)
HSLhsl(302, 15%, 47%)
HSVhsv(302, 25%, 54%)
CMYKcmyk(0%, 25.4%, 0.7%, 45.9%)
CIE-LABlab(48.15, 20.14, -13.29)
CIE-LCHlch(48.15, 24.13, 326.57°)
OKLaboklab(56.09% 0.0558 -0.0358)
OKLCHoklch(56.09% 0.066 327.3)
XYZxyz(19.8464, 16.9105, 25.8807)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6789 #678A68
analogous
#7A678A #8A6789 #8A6778
triadic
#8A6789 #898A67 #67898A
tetradic
#8A6789 #8A7A67 #678A68 #67788A
square
#8A6789 #8A7A67 #678A68 #67788A
split-complementary
#8A6789 #788A67 #678A7A
monochromatic
#443343 #674D66 #8A6789 #A688A5 #C0ABC0

Accessibility & contrast

On white

4.79
#8A6789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8A6789 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6789
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6789#FFFFFF#000000##FFFFFF
##8A67891.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65708A
Deuteranopia (green-blind)
#6D7488
Tritanopia (blue-blind)
#8C6A73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a6789;
/* rgb */ color: rgb(138, 103, 137);
/* oklch */ color: oklch(56.1% 0.066 327.3);
Tailwind
colors: {
  custom: {
    50: '#ac92ab',
    500: '#8a6789',
    950: '#000000',
  },
}
SCSS
$custom: #8a6789;
$custom-light: #ac92ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6789",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 137
  },
  "hsl": {
    "h": 301.714,
    "s": 14.523,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56087,
    "c": 0.06631,
    "h": 327.3
  },
  "luminance": 0.1691
}

Semantic roles & 50–950 ramp

primary
#8A6789
secondary
#9DAF9E
accent
#B77370
background
#FAF9FA
surface
#F4F1F4
border
#CECBCE
text
#100D10
muted
#7F7E7F

Preview Lab

Preview with #8A6789

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

Preview Lab → · Contrast checker → · Palette generator →

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