#8A4884#8A4884

#8A4884 is a mid, moderate purple. Relative luminance 0.117; OKLCH L 50.4% C 0.120 H 330.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8A4884
RGBrgb(138, 72, 132)
HSLhsl(305, 31%, 41%)
HSVhsv(305, 48%, 54%)
CMYKcmyk(0%, 47.8%, 4.3%, 45.9%)
CIE-LABlab(40.74, 36.93, -21.61)
CIE-LCHlch(40.74, 42.78, 329.67°)
OKLaboklab(50.43% 0.1045 -0.0588)
OKLCHoklch(50.43% 0.12 330.6)
XYZxyz(16.9633, 11.7049, 23.1911)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4884 #488A4E
analogous
#6F488A #8A4884 #8A4863
triadic
#8A4884 #848A48 #48848A
tetradic
#8A4884 #8A6F48 #488A4E #48638A
square
#8A4884 #8A6F48 #488A4E #48638A
split-complementary
#8A4884 #638A48 #488A6F
monochromatic
#3A1E37 #62335E #8A4884 #AD62A6 #C28ABD

Accessibility & contrast

On white

6.29
#8A4884 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8A4884 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4884
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4884#FFFFFF#000000##FFFFFF
##8A48841.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455A86
Deuteranopia (green-blind)
#586382
Tritanopia (blue-blind)
#8F4D60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a4884;
/* rgb */ color: rgb(138, 72, 132);
/* oklch */ color: oklch(50.4% 0.120 330.6);
Tailwind
colors: {
  custom: {
    50: '#ae7da8',
    500: '#8a4884',
    950: '#000000',
  },
}
SCSS
$custom: #8a4884;
$custom-light: #ae7da8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4884",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 132
  },
  "hsl": {
    "h": 305.455,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50425,
    "c": 0.11992,
    "h": 330.6
  },
  "luminance": 0.11704
}

Semantic roles & 50–950 ramp

primary
#8A4884
secondary
#80AE84
accent
#C86A60
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A4884

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

Preview Lab → · Contrast checker → · Palette generator →

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