#8A4080#8A4080

#8A4080 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.0% C 0.130 H 332.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8A4080
RGBrgb(138, 64, 128)
HSLhsl(308, 37%, 40%)
HSVhsv(308, 54%, 54%)
CMYKcmyk(0%, 53.6%, 7.2%, 45.9%)
CIE-LABlab(38.95, 40.43, -21.93)
CIE-LCHlch(38.95, 46.00, 331.52°)
OKLaboklab(49.04% 0.1158 -0.0597)
OKLCHoklch(49.04% 0.13 332.7)
XYZxyz(16.2109, 10.6296, 21.6158)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4080 #408A4A
analogous
#6F408A #8A4080 #8A405B
triadic
#8A4080 #808A40 #40808A
tetradic
#8A4080 #8A6F40 #408A4A #405B8A
square
#8A4080 #8A6F40 #408A4A #405B8A
split-complementary
#8A4080 #5B8A40 #408A6F
monochromatic
#361932 #602D59 #8A4080 #B156A5 #C480BB

Accessibility & contrast

On white

6.72
#8A4080 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8A4080 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4080
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4080#FFFFFF#000000##FFFFFF
##8A40801.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5582
Deuteranopia (green-blind)
#54607E
Tritanopia (blue-blind)
#8F455A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a4080;
/* rgb */ color: rgb(138, 64, 128);
/* oklch */ color: oklch(49.0% 0.130 332.7);
Tailwind
colors: {
  custom: {
    50: '#ae78a5',
    500: '#8a4080',
    950: '#000000',
  },
}
SCSS
$custom: #8a4080;
$custom-light: #ae78a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4080",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 128
  },
  "hsl": {
    "h": 308.108,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49035,
    "c": 0.1303,
    "h": 332.7
  },
  "luminance": 0.10629
}

Semantic roles & 50–950 ramp

primary
#8A4080
secondary
#77AF7F
accent
#CD6B5B
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8A4080

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

Preview Lab → · Contrast checker → · Palette generator →

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