#8A5E84#8A5E84

#8A5E84 is a mid, moderate purple. Relative luminance 0.151; OKLCH L 54.2% C 0.079 H 331.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8A5E84
RGBrgb(138, 94, 132)
HSLhsl(308, 19%, 45%)
HSVhsv(308, 32%, 54%)
CMYKcmyk(0%, 31.9%, 4.3%, 45.9%)
CIE-LABlab(45.74, 24.43, -13.95)
CIE-LCHlch(45.74, 28.13, 330.27°)
OKLaboklab(54.19% 0.069 -0.0375)
OKLCHoklch(54.19% 0.079 331.5)
XYZxyz(18.6485, 15.0754, 23.7528)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5E84 #5E8A64
analogous
#7A5E8A #8A5E84 #8A5E6E
triadic
#8A5E84 #848A5E #5E848A
tetradic
#8A5E84 #8A7A5E #5E8A64 #5E6E8A
square
#8A5E84 #8A7A5E #5E8A64 #5E6E8A
split-complementary
#8A5E84 #6E8A5E #5E8A7A
monochromatic
#412C3E #664561 #8A5E84 #A77EA2 #C0A2BC

Accessibility & contrast

On white

5.23
#8A5E84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8A5E84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5E84
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5E84#FFFFFF#000000##FFFFFF
##8A5E841.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6985
Deuteranopia (green-blind)
#686E83
Tritanopia (blue-blind)
#8E616C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a5e84;
/* rgb */ color: rgb(138, 94, 132);
/* oklch */ color: oklch(54.2% 0.079 331.5);
Tailwind
colors: {
  custom: {
    50: '#ad8ca7',
    500: '#8a5e84',
    950: '#000000',
  },
}
SCSS
$custom: #8a5e84;
$custom-light: #ad8ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5e84",
  "rgb": {
    "r": 138,
    "g": 94,
    "b": 132
  },
  "hsl": {
    "h": 308.182,
    "s": 18.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54186,
    "c": 0.07857,
    "h": 331.5
  },
  "luminance": 0.15075
}

Semantic roles & 50–950 ramp

primary
#8A5E84
secondary
#96AE99
accent
#BC776C
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C0F
muted
#7F7D7F

Preview Lab

Preview with #8A5E84

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

Preview Lab → · Contrast checker → · Palette generator →

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