#8A4D84#8A4D84

#8A4D84 is a mid, moderate purple. Relative luminance 0.124; OKLCH L 51.2% C 0.111 H 330.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8A4D84
RGBrgb(138, 77, 132)
HSLhsl(306, 28%, 42%)
HSVhsv(306, 44%, 54%)
CMYKcmyk(0%, 44.2%, 4.3%, 45.9%)
CIE-LABlab(41.81, 34.18, -19.96)
CIE-LCHlch(41.81, 39.58, 329.71°)
OKLaboklab(51.22% 0.0967 -0.0542)
OKLCHoklch(51.22% 0.111 330.7)
XYZxyz(17.2998, 12.3779, 23.3033)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4D84 #4D8A53
analogous
#724D8A #8A4D84 #8A4D65
triadic
#8A4D84 #848A4D #4D848A
tetradic
#8A4D84 #8A724D #4D8A53 #4D658A
square
#8A4D84 #8A724D #4D8A53 #4D658A
split-complementary
#8A4D84 #658A4D #4D8A72
monochromatic
#3B2139 #63375E #8A4D84 #AB69A5 #C190BC

Accessibility & contrast

On white

6.04
#8A4D84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8A4D84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4D84
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4D84#FFFFFF#000000##FFFFFF
##8A4D841.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5D86
Deuteranopia (green-blind)
#5B6682
Tritanopia (blue-blind)
#8E5162
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a4d84;
/* rgb */ color: rgb(138, 77, 132);
/* oklch */ color: oklch(51.2% 0.111 330.7);
Tailwind
colors: {
  custom: {
    50: '#ad81a8',
    500: '#8a4d84',
    950: '#000000',
  },
}
SCSS
$custom: #8a4d84;
$custom-light: #ad81a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4d84",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 132
  },
  "hsl": {
    "h": 305.902,
    "s": 28.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51222,
    "c": 0.11082,
    "h": 330.7
  },
  "luminance": 0.12377
}

Semantic roles & 50–950 ramp

primary
#8A4D84
secondary
#85AE89
accent
#C56D63
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A4D84

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

Preview Lab → · Contrast checker → · Palette generator →

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