#8A4580#8A4580

#8A4580 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 49.8% C 0.122 H 332.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8A4580
RGBrgb(138, 69, 128)
HSLhsl(309, 33%, 41%)
HSVhsv(309, 50%, 54%)
CMYKcmyk(0%, 50%, 7.2%, 45.9%)
CIE-LABlab(39.95, 37.80, -20.39)
CIE-LCHlch(39.95, 42.95, 331.66°)
OKLaboklab(49.78% 0.1082 -0.0553)
OKLCHoklch(49.78% 0.122 332.9)
XYZxyz(16.5056, 11.2191, 21.7140)
Luminance0.1122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4580 #458A4F
analogous
#71458A #8A4580 #8A455D
triadic
#8A4580 #808A45 #45808A
tetradic
#8A4580 #8A7145 #458A4F #455D8A
square
#8A4580 #8A7145 #458A4F #455D8A
split-complementary
#8A4580 #5D8A45 #458A71
monochromatic
#381C34 #61315A #8A4580 #AE5EA3 #C387BA

Accessibility & contrast

On white

6.47
#8A4580 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8A4580 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4580
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4580#FFFFFF#000000##FFFFFF
##8A45801.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445882
Deuteranopia (green-blind)
#57627E
Tritanopia (blue-blind)
#8F495C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a4580;
/* rgb */ color: rgb(138, 69, 128);
/* oklch */ color: oklch(49.8% 0.122 332.9);
Tailwind
colors: {
  custom: {
    50: '#ae7ba5',
    500: '#8a4580',
    950: '#000000',
  },
}
SCSS
$custom: #8a4580;
$custom-light: #ae7ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4580",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 128
  },
  "hsl": {
    "h": 308.696,
    "s": 33.333,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49775,
    "c": 0.12157,
    "h": 332.9
  },
  "luminance": 0.11218
}

Semantic roles & 50–950 ramp

primary
#8A4580
secondary
#7DAE84
accent
#C96E5E
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#10090F
muted
#7F7B7F

Preview Lab

Preview with #8A4580

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

Preview Lab → · Contrast checker → · Palette generator →

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