#8A4589#8A4589

#8A4589 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.2% C 0.130 H 327.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8A4589
RGBrgb(138, 69, 137)
HSLhsl(301, 33%, 41%)
HSVhsv(301, 50%, 54%)
CMYKcmyk(0%, 50%, 0.7%, 45.9%)
CIE-LABlab(40.36, 39.49, -25.26)
CIE-LCHlch(40.36, 46.88, 327.39°)
OKLaboklab(50.21% 0.1101 -0.0692)
OKLCHoklch(50.21% 0.13 327.8)
XYZxyz(17.1244, 11.4666, 24.9733)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4589 #458A46
analogous
#68458A #8A4589 #8A4566
triadic
#8A4589 #898A45 #45898A
tetradic
#8A4589 #8A6845 #458A46 #45668A
square
#8A4589 #8A6845 #458A46 #45668A
split-complementary
#8A4589 #668A45 #458A68
monochromatic
#381C38 #613160 #8A4589 #AE5EAD #C387C2

Accessibility & contrast

On white

6.38
#8A4589 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8A4589 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4589
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4589#FFFFFF#000000##FFFFFF
##8A45891.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F598B
Deuteranopia (green-blind)
#536287
Tritanopia (blue-blind)
#8E4C61
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a4589;
/* rgb */ color: rgb(138, 69, 137);
/* oklch */ color: oklch(50.2% 0.130 327.8);
Tailwind
colors: {
  custom: {
    50: '#ae7bab',
    500: '#8a4589',
    950: '#000000',
  },
}
SCSS
$custom: #8a4589;
$custom-light: #ae7bab;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4589",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 137
  },
  "hsl": {
    "h": 300.87,
    "s": 33.333,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50212,
    "c": 0.13002,
    "h": 327.8
  },
  "luminance": 0.11466
}

Semantic roles & 50–950 ramp

primary
#8A4589
secondary
#7DAE7D
accent
#C9605E
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A4589

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

Preview Lab → · Contrast checker → · Palette generator →

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