#8A579B#8A579B

#8A579B is a mid, moderate purple. Relative luminance 0.146; OKLCH L 54.0% C 0.117 H 317.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8A579B
RGBrgb(138, 87, 155)
HSLhsl(285, 28%, 47%)
HSVhsv(285, 44%, 61%)
CMYKcmyk(11%, 43.9%, 0%, 39.2%)
CIE-LABlab(45.06, 33.22, -28.76)
CIE-LCHlch(45.06, 43.94, 319.12°)
OKLaboklab(54% 0.0861 -0.0794)
OKLCHoklch(54% 0.117 317.3)
XYZxyz(19.8050, 14.5868, 32.7763)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A579B #689B57
analogous
#68579B #8A579B #9B578A
triadic
#8A579B #9B8A57 #579B8A
tetradic
#8A579B #9B6857 #689B57 #578A9B
square
#8A579B #9B6857 #689B57 #578A9B
split-complementary
#8A579B #8A9B57 #579B68
monochromatic
#442B4D #674174 #8A579B #A67BB5 #C0A2CB

Accessibility & contrast

On white

5.36
#8A579B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8A579B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A579B
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A579B#FFFFFF#000000##FFFFFF
##8A579B1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C679D
Deuteranopia (green-blind)
#596C99
Tritanopia (blue-blind)
#8A6072
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a579b;
/* rgb */ color: rgb(138, 87, 155);
/* oklch */ color: oklch(54.0% 0.117 317.3);
Tailwind
colors: {
  custom: {
    50: '#ad88b8',
    500: '#8a579b',
    950: '#000000',
  },
}
SCSS
$custom: #8a579b;
$custom-light: #ad88b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a579b",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 155
  },
  "hsl": {
    "h": 285,
    "s": 28.099,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53995,
    "c": 0.1171,
    "h": 317.3
  },
  "luminance": 0.14586
}

Semantic roles & 50–950 ramp

primary
#8A579B
secondary
#9EB896
accent
#C4637C
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #8A579B

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

Preview Lab → · Contrast checker → · Palette generator →

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