#8A558B#8A558B

#8A558B is a mid, moderate purple. Relative luminance 0.138; OKLCH L 52.9% C 0.103 H 326.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8A558B
RGBrgb(138, 85, 139)
HSLhsl(299, 24%, 44%)
HSVhsv(299, 39%, 55%)
CMYKcmyk(0.7%, 38.8%, 0%, 45.5%)
CIE-LABlab(43.89, 31.02, -20.99)
CIE-LCHlch(43.89, 37.46, 325.92°)
OKLaboklab(52.88% 0.0857 -0.0572)
OKLCHoklch(52.88% 0.103 326.3)
XYZxyz(18.3895, 13.7651, 26.1094)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A558B #568B55
analogous
#6F558B #8A558B #8B5571
triadic
#8A558B #8B8A55 #558B8A
tetradic
#8A558B #8B6F55 #568B55 #55718B
square
#8A558B #8B6F55 #568B55 #55718B
split-complementary
#8A558B #718B55 #558B6F
monochromatic
#3F273F #643E65 #8A558B #A974AA #C099C1

Accessibility & contrast

On white

5.60
#8A558B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A558B
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A558B#FFFFFF#000000##FFFFFF
##8A558B1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51648D
Deuteranopia (green-blind)
#5E6A89
Tritanopia (blue-blind)
#8D5A69
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a558b;
/* rgb */ color: rgb(138, 85, 139);
/* oklch */ color: oklch(52.9% 0.103 326.3);
Tailwind
colors: {
  custom: {
    50: '#ad86ad',
    500: '#8a558b',
    950: '#000000',
  },
}
SCSS
$custom: #8a558b;
$custom-light: #ad86ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8a558b",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 139
  },
  "hsl": {
    "h": 298.889,
    "s": 24.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52883,
    "c": 0.10299,
    "h": 326.3
  },
  "luminance": 0.13764
}

Semantic roles & 50–950 ramp

primary
#8A558B
secondary
#8EAE8E
accent
#C16769
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A558B

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

Preview Lab → · Contrast checker → · Palette generator →

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