#8A5686#8A5686

#8A5686 is a mid, moderate purple. Relative luminance 0.138; OKLCH L 52.8% C 0.096 H 329.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8A5686
RGBrgb(138, 86, 134)
HSLhsl(305, 23%, 44%)
HSVhsv(305, 38%, 54%)
CMYKcmyk(0%, 37.7%, 2.9%, 45.9%)
CIE-LABlab(43.92, 29.46, -17.94)
CIE-LCHlch(43.92, 34.49, 328.67°)
OKLaboklab(52.83% 0.0827 -0.0486)
OKLCHoklch(52.83% 0.096 329.6)
XYZxyz(18.1118, 13.7809, 24.2556)
Luminance0.1378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5686 #568A5A
analogous
#74568A #8A5686 #8A566C
triadic
#8A5686 #868A56 #56868A
tetradic
#8A5686 #8A7456 #568A5A #566C8A
square
#8A5686 #8A7456 #568A5A #566C8A
split-complementary
#8A5686 #6C8A56 #568A74
monochromatic
#3F273D #643F61 #8A5686 #A975A5 #C09ABD

Accessibility & contrast

On white

5.59
#8A5686 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8A5686 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5686
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5686#FFFFFF#000000##FFFFFF
##8A56861.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546388
Deuteranopia (green-blind)
#616A84
Tritanopia (blue-blind)
#8E5A68
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a5686;
/* rgb */ color: rgb(138, 86, 134);
/* oklch */ color: oklch(52.8% 0.096 329.6);
Tailwind
colors: {
  custom: {
    50: '#ad87a9',
    500: '#8a5686',
    950: '#000000',
  },
}
SCSS
$custom: #8a5686;
$custom-light: #ad87a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5686",
  "rgb": {
    "r": 138,
    "g": 86,
    "b": 134
  },
  "hsl": {
    "h": 304.615,
    "s": 23.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52832,
    "c": 0.09594,
    "h": 329.6
  },
  "luminance": 0.1378
}

Semantic roles & 50–950 ramp

primary
#8A5686
secondary
#8EAE91
accent
#C06F68
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A5686

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

Preview Lab → · Contrast checker → · Palette generator →

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