#8A5599#8A5599

#8A5599 is a mid, moderate purple. Relative luminance 0.142; OKLCH L 53.6% C 0.118 H 318.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8A5599
RGBrgb(138, 85, 153)
HSLhsl(287, 29%, 47%)
HSVhsv(287, 44%, 60%)
CMYKcmyk(9.8%, 44.4%, 0%, 40%)
CIE-LABlab(44.52, 33.93, -28.41)
CIE-LCHlch(44.52, 44.25, 320.05°)
OKLaboklab(53.56% 0.0887 -0.0784)
OKLCHoklch(53.56% 0.118 318.5)
XYZxyz(19.4787, 14.2008, 31.8458)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5599 #649955
analogous
#685599 #8A5599 #995586
triadic
#8A5599 #998A55 #55998A
tetradic
#8A5599 #996855 #649955 #558699
square
#8A5599 #996855 #649955 #558699
split-complementary
#8A5599 #869955 #559968
monochromatic
#43294A #673F72 #8A5599 #A677B4 #C09FCA

Accessibility & contrast

On white

5.47
#8A5599 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8A5599 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5599
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5599#FFFFFF#000000##FFFFFF
##8A55991.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A669B
Deuteranopia (green-blind)
#596B97
Tritanopia (blue-blind)
#8A5E70
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a5599;
/* rgb */ color: rgb(138, 85, 153);
/* oklch */ color: oklch(53.6% 0.118 318.5);
Tailwind
colors: {
  custom: {
    50: '#ad86b7',
    500: '#8a5599',
    950: '#000000',
  },
}
SCSS
$custom: #8a5599;
$custom-light: #ad86b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5599",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 153
  },
  "hsl": {
    "h": 286.765,
    "s": 28.571,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53558,
    "c": 0.11841,
    "h": 318.5
  },
  "luminance": 0.142
}

Semantic roles & 50–950 ramp

primary
#8A5599
secondary
#9BB793
accent
#C56379
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A5599

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

Preview Lab → · Contrast checker → · Palette generator →

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