#8A4584#8A4584

#8A4584 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.0% C 0.125 H 330.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8A4584
RGBrgb(138, 69, 132)
HSLhsl(305, 33%, 41%)
HSVhsv(305, 50%, 54%)
CMYKcmyk(0%, 50%, 4.3%, 45.9%)
CIE-LABlab(40.13, 38.54, -22.56)
CIE-LCHlch(40.13, 44.66, 329.65°)
OKLaboklab(49.97% 0.1091 -0.0615)
OKLCHoklch(49.97% 0.125 330.6)
XYZxyz(16.7741, 11.3265, 23.1280)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4584 #458A4B
analogous
#6D458A #8A4584 #8A4561
triadic
#8A4584 #848A45 #45848A
tetradic
#8A4584 #8A6D45 #458A4B #45618A
square
#8A4584 #8A6D45 #458A4B #45618A
split-complementary
#8A4584 #618A45 #458A6D
monochromatic
#381C36 #61315D #8A4584 #AE5EA7 #C387BE

Accessibility & contrast

On white

6.43
#8A4584 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8A4584 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4584
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4584#FFFFFF#000000##FFFFFF
##8A45841.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425986
Deuteranopia (green-blind)
#566282
Tritanopia (blue-blind)
#8F4B5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a4584;
/* rgb */ color: rgb(138, 69, 132);
/* oklch */ color: oklch(50.0% 0.125 330.6);
Tailwind
colors: {
  custom: {
    50: '#ae7ba8',
    500: '#8a4584',
    950: '#000000',
  },
}
SCSS
$custom: #8a4584;
$custom-light: #ae7ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4584",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 132
  },
  "hsl": {
    "h": 305.217,
    "s": 33.333,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49966,
    "c": 0.12525,
    "h": 330.6
  },
  "luminance": 0.11325
}

Semantic roles & 50–950 ramp

primary
#8A4584
secondary
#7DAE81
accent
#C9685E
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#10090F
muted
#7F7B7F

Preview Lab

Preview with #8A4584

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

Preview Lab → · Contrast checker → · Palette generator →

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