#8A5582#8A5582

#8A5582 is a mid, moderate purple. Relative luminance 0.135; OKLCH L 52.5% C 0.094 H 332.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8A5582
RGBrgb(138, 85, 130)
HSLhsl(309, 24%, 44%)
HSVhsv(309, 38%, 54%)
CMYKcmyk(0%, 38.4%, 5.8%, 45.9%)
CIE-LABlab(43.53, 29.27, -16.11)
CIE-LCHlch(43.53, 33.41, 331.17°)
OKLaboklab(52.49% 0.0832 -0.0435)
OKLCHoklch(52.49% 0.094 332.4)
XYZxyz(17.7588, 13.5128, 22.7876)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5582 #558A5D
analogous
#77558A #8A5582 #8A5567
triadic
#8A5582 #828A55 #55828A
tetradic
#8A5582 #8A7755 #558A5D #55678A
square
#8A5582 #8A7755 #558A5D #55678A
split-complementary
#8A5582 #678A55 #558A77
monochromatic
#3E263B #643E5E #8A5582 #A973A1 #C099BA

Accessibility & contrast

On white

5.67
#8A5582 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8A5582 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5582
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5582#FFFFFF#000000##FFFFFF
##8A55821.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546284
Deuteranopia (green-blind)
#616A80
Tritanopia (blue-blind)
#8E5866
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a5582;
/* rgb */ color: rgb(138, 85, 130);
/* oklch */ color: oklch(52.5% 0.094 332.4);
Tailwind
colors: {
  custom: {
    50: '#ad86a6',
    500: '#8a5582',
    950: '#000000',
  },
}
SCSS
$custom: #8a5582;
$custom-light: #ad86a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5582",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 130
  },
  "hsl": {
    "h": 309.057,
    "s": 23.767,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52485,
    "c": 0.0939,
    "h": 332.4
  },
  "luminance": 0.13512
}

Semantic roles & 50–950 ramp

primary
#8A5582
secondary
#8DAE92
accent
#C07568
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B0F
muted
#7F7C7F

Preview Lab

Preview with #8A5582

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

Preview Lab → · Contrast checker → · Palette generator →

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