#8A4480#8A4480

#8A4480 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 49.6% C 0.123 H 332.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8A4480
RGBrgb(138, 68, 128)
HSLhsl(309, 34%, 40%)
HSVhsv(309, 51%, 54%)
CMYKcmyk(0%, 50.7%, 7.2%, 45.9%)
CIE-LABlab(39.74, 38.34, -20.70)
CIE-LCHlch(39.74, 43.57, 331.63°)
OKLaboklab(49.62% 0.1098 -0.0562)
OKLCHoklch(49.62% 0.123 332.9)
XYZxyz(16.4446, 11.0971, 21.6937)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4480 #448A4E
analogous
#71448A #8A4480 #8A445D
triadic
#8A4480 #808A44 #44808A
tetradic
#8A4480 #8A7144 #448A4E #445D8A
square
#8A4480 #8A7144 #448A4E #445D8A
split-complementary
#8A4480 #5D8A44 #448A71
monochromatic
#381C34 #61305A #8A4480 #AF5CA3 #C385BA

Accessibility & contrast

On white

6.52
#8A4480 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8A4480 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4480
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4480#FFFFFF#000000##FFFFFF
##8A44801.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a4480;
/* rgb */ color: rgb(138, 68, 128);
/* oklch */ color: oklch(49.6% 0.123 332.9);
Tailwind
colors: {
  custom: {
    50: '#ae7ba5',
    500: '#8a4480',
    950: '#000000',
  },
}
SCSS
$custom: #8a4480;
$custom-light: #ae7ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4480",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 128
  },
  "hsl": {
    "h": 308.571,
    "s": 33.981,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49624,
    "c": 0.12334,
    "h": 332.9
  },
  "luminance": 0.11096
}

Semantic roles & 50–950 ramp

primary
#8A4480
secondary
#7CAE83
accent
#CA6D5E
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#10090F
muted
#7F7B7F

Preview Lab

Preview with #8A4480

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

Preview Lab → · Contrast checker → · Palette generator →

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