#8A578D#8A578D

#8A578D is a mid, moderate purple. Relative luminance 0.141; OKLCH L 53.3% C 0.101 H 324.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8A578D
RGBrgb(138, 87, 141)
HSLhsl(297, 24%, 45%)
HSVhsv(297, 38%, 55%)
CMYKcmyk(2.1%, 38.3%, 0%, 44.7%)
CIE-LABlab(44.44, 30.28, -21.35)
CIE-LCHlch(44.44, 37.05, 324.81°)
OKLaboklab(53.32% 0.083 -0.0582)
OKLCHoklch(53.32% 0.101 324.9)
XYZxyz(18.6967, 14.1435, 26.9392)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A578D #5A8D57
analogous
#6F578D #8A578D #8D5775
triadic
#8A578D #8D8A57 #578D8A
tetradic
#8A578D #8D6F57 #5A8D57 #57758D
square
#8A578D #8D6F57 #5A8D57 #57758D
split-complementary
#8A578D #758D57 #578D6F
monochromatic
#402841 #654067 #8A578D #A876AB #C09CC2

Accessibility & contrast

On white

5.49
#8A578D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8A578D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A578D
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A578D#FFFFFF#000000##FFFFFF
##8A578D1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52658F
Deuteranopia (green-blind)
#5F6B8B
Tritanopia (blue-blind)
#8C5C6B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a578d;
/* rgb */ color: rgb(138, 87, 141);
/* oklch */ color: oklch(53.3% 0.101 324.9);
Tailwind
colors: {
  custom: {
    50: '#ad87ae',
    500: '#8a578d',
    950: '#000000',
  },
}
SCSS
$custom: #8a578d;
$custom-light: #ad87ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a578d",
  "rgb": {
    "r": 138,
    "g": 87,
    "b": 141
  },
  "hsl": {
    "h": 296.667,
    "s": 23.684,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5332,
    "c": 0.10137,
    "h": 324.9
  },
  "luminance": 0.14143
}

Semantic roles & 50–950 ramp

primary
#8A578D
secondary
#92B090
accent
#C0686D
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A578D

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

Preview Lab → · Contrast checker → · Palette generator →

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