#8A4587#8A4587

#8A4587 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.1% C 0.128 H 328.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8A4587
RGBrgb(138, 69, 135)
HSLhsl(303, 33%, 41%)
HSVhsv(303, 50%, 54%)
CMYKcmyk(0%, 50%, 2.2%, 45.9%)
CIE-LABlab(40.26, 39.11, -24.19)
CIE-LCHlch(40.26, 45.98, 328.26°)
OKLaboklab(50.11% 0.1097 -0.0661)
OKLCHoklch(50.11% 0.128 328.9)
XYZxyz(16.9823, 11.4097, 24.2248)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4587 #458A48
analogous
#6A458A #8A4587 #8A4564
triadic
#8A4587 #878A45 #45878A
tetradic
#8A4587 #8A6A45 #458A48 #45648A
square
#8A4587 #8A6A45 #458A48 #45648A
split-complementary
#8A4587 #648A45 #458A6A
monochromatic
#381C37 #61315F #8A4587 #AE5EAB #C387C0

Accessibility & contrast

On white

6.40
#8A4587 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8A4587 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4587
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4587#FFFFFF#000000##FFFFFF
##8A45871.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405989
Deuteranopia (green-blind)
#546285
Tritanopia (blue-blind)
#8E4B60
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a4587;
/* rgb */ color: rgb(138, 69, 135);
/* oklch */ color: oklch(50.1% 0.128 328.9);
Tailwind
colors: {
  custom: {
    50: '#ae7baa',
    500: '#8a4587',
    950: '#000000',
  },
}
SCSS
$custom: #8a4587;
$custom-light: #ae7baa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4587",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 135
  },
  "hsl": {
    "h": 302.609,
    "s": 33.333,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50112,
    "c": 0.12809,
    "h": 328.9
  },
  "luminance": 0.11409
}

Semantic roles & 50–950 ramp

primary
#8A4587
secondary
#7DAE7F
accent
#C9635E
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #8A4587

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

Preview Lab → · Contrast checker → · Palette generator →

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