#8A5684#8A5684

#8A5684 is a mid, moderate purple. Relative luminance 0.137; OKLCH L 52.7% C 0.094 H 331.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8A5684
RGBrgb(138, 86, 132)
HSLhsl(307, 23%, 44%)
HSVhsv(307, 38%, 54%)
CMYKcmyk(0%, 37.7%, 4.3%, 45.9%)
CIE-LABlab(43.84, 29.07, -16.85)
CIE-LCHlch(43.84, 33.60, 329.91°)
OKLaboklab(52.75% 0.0822 -0.0455)
OKLCHoklch(52.75% 0.094 331)
XYZxyz(17.9736, 13.7256, 23.5279)
Luminance0.1373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5684 #568A5C
analogous
#76568A #8A5684 #8A566A
triadic
#8A5684 #848A56 #56848A
tetradic
#8A5684 #8A7656 #568A5C #566A8A
square
#8A5684 #8A7656 #568A5C #566A8A
split-complementary
#8A5684 #6A8A56 #568A76
monochromatic
#3F273C #643F60 #8A5684 #A975A3 #C09ABC

Accessibility & contrast

On white

5.61
#8A5684 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8A5684 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5684
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5684#FFFFFF#000000##FFFFFF
##8A56841.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546386
Deuteranopia (green-blind)
#626A82
Tritanopia (blue-blind)
#8E5967
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a5684;
/* rgb */ color: rgb(138, 86, 132);
/* oklch */ color: oklch(52.7% 0.094 331.0);
Tailwind
colors: {
  custom: {
    50: '#ad87a8',
    500: '#8a5684',
    950: '#000000',
  },
}
SCSS
$custom: #8a5684;
$custom-light: #ad87a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5684",
  "rgb": {
    "r": 138,
    "g": 86,
    "b": 132
  },
  "hsl": {
    "h": 306.923,
    "s": 23.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52745,
    "c": 0.09395,
    "h": 331
  },
  "luminance": 0.13725
}

Semantic roles & 50–950 ramp

primary
#8A5684
secondary
#8EAE92
accent
#C07268
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B0F
muted
#7F7C7F

Preview Lab

Preview with #8A5684

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

Preview Lab → · Contrast checker → · Palette generator →

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