#8A6787#8A6787

#8A6787 is a mid, moderate purple. Relative luminance 0.169; OKLCH L 56.0% C 0.064 H 329.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8A6787
RGBrgb(138, 103, 135)
HSLhsl(305, 15%, 47%)
HSVhsv(305, 25%, 54%)
CMYKcmyk(0%, 25.4%, 2.2%, 45.9%)
CIE-LABlab(48.08, 19.74, -12.21)
CIE-LCHlch(48.08, 23.21, 328.26°)
OKLaboklab(56.01% 0.0552 -0.0328)
OKLCHoklch(56.01% 0.064 329.3)
XYZxyz(19.7042, 16.8536, 25.1321)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6787 #678A6A
analogous
#7C678A #8A6787 #8A6776
triadic
#8A6787 #878A67 #67878A
tetradic
#8A6787 #8A7C67 #678A6A #67768A
square
#8A6787 #8A7C67 #678A6A #67768A
split-complementary
#8A6787 #768A67 #678A7C
monochromatic
#443342 #674D65 #8A6787 #A688A4 #C0ABBF

Accessibility & contrast

On white

4.80
#8A6787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8A6787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6787
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6787#FFFFFF#000000##FFFFFF
##8A67871.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666F88
Deuteranopia (green-blind)
#6E7486
Tritanopia (blue-blind)
#8D6972
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a6787;
/* rgb */ color: rgb(138, 103, 135);
/* oklch */ color: oklch(56.0% 0.064 329.3);
Tailwind
colors: {
  custom: {
    50: '#ac92aa',
    500: '#8a6787',
    950: '#000000',
  },
}
SCSS
$custom: #8a6787;
$custom-light: #ac92aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6787",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 135
  },
  "hsl": {
    "h": 305.143,
    "s": 14.523,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56008,
    "c": 0.06417,
    "h": 329.3
  },
  "luminance": 0.16853
}

Semantic roles & 50–950 ramp

primary
#8A6787
secondary
#9DAF9F
accent
#B77770
background
#FAF9FA
surface
#F4F1F4
border
#CECBCE
text
#100D10
muted
#7F7E7F

Preview Lab

Preview with #8A6787

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

Preview Lab → · Contrast checker → · Palette generator →

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