#8A6785#8A6785

#8A6785 is a mid, moderate purple. Relative luminance 0.168; OKLCH L 55.9% C 0.062 H 331.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8A6785
RGBrgb(138, 103, 133)
HSLhsl(309, 15%, 47%)
HSVhsv(309, 25%, 54%)
CMYKcmyk(0%, 25.4%, 3.6%, 45.9%)
CIE-LABlab(48.00, 19.34, -11.12)
CIE-LCHlch(48.00, 22.31, 330.10°)
OKLaboklab(55.93% 0.0545 -0.0298)
OKLCHoklch(55.93% 0.062 331.3)
XYZxyz(19.5648, 16.7978, 24.3975)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A6785 #678A6C
analogous
#7E678A #8A6785 #8A6774
triadic
#8A6785 #858A67 #67858A
tetradic
#8A6785 #8A7E67 #678A6C #67748A
square
#8A6785 #8A7E67 #678A6C #67748A
split-complementary
#8A6785 #748A67 #678A7E
monochromatic
#443341 #674D63 #8A6785 #A688A2 #C0ABBD

Accessibility & contrast

On white

4.82
#8A6785 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8A6785 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A6785
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A6785#FFFFFF#000000##FFFFFF
##8A67851.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666F86
Deuteranopia (green-blind)
#6E7484
Tritanopia (blue-blind)
#8D6971
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a6785;
/* rgb */ color: rgb(138, 103, 133);
/* oklch */ color: oklch(55.9% 0.062 331.3);
Tailwind
colors: {
  custom: {
    50: '#ac92a8',
    500: '#8a6785',
    950: '#000000',
  },
}
SCSS
$custom: #8a6785;
$custom-light: #ac92a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a6785",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 133
  },
  "hsl": {
    "h": 308.571,
    "s": 14.523,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5593,
    "c": 0.06209,
    "h": 331.3
  },
  "luminance": 0.16797
}

Semantic roles & 50–950 ramp

primary
#8A6785
secondary
#9DAFA0
accent
#B77B70
background
#FAF9FA
surface
#F4F1F4
border
#CECBCE
text
#100D0F
muted
#7F7E7F

Preview Lab

Preview with #8A6785

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

Preview Lab → · Contrast checker → · Palette generator →

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