#8A4D82#8A4D82

#8A4D82 is a mid, moderate purple. Relative luminance 0.123; OKLCH L 51.1% C 0.109 H 332.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8A4D82
RGBrgb(138, 77, 130)
HSLhsl(308, 28%, 42%)
HSVhsv(308, 44%, 54%)
CMYKcmyk(0%, 44.2%, 5.8%, 45.9%)
CIE-LABlab(41.73, 33.80, -18.87)
CIE-LCHlch(41.73, 38.71, 330.82°)
OKLaboklab(51.13% 0.0962 -0.0511)
OKLCHoklch(51.13% 0.109 332)
XYZxyz(17.1642, 12.3237, 22.5894)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4D82 #4D8A55
analogous
#744D8A #8A4D82 #8A4D64
triadic
#8A4D82 #828A4D #4D828A
tetradic
#8A4D82 #8A744D #4D8A55 #4D648A
square
#8A4D82 #8A744D #4D8A55 #4D648A
split-complementary
#8A4D82 #648A4D #4D8A74
monochromatic
#3B2138 #63375D #8A4D82 #AB69A3 #C190BB

Accessibility & contrast

On white

6.06
#8A4D82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8A4D82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4D82
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4D82#FFFFFF#000000##FFFFFF
##8A4D821.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5D84
Deuteranopia (green-blind)
#5C6680
Tritanopia (blue-blind)
#8F5161
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a4d82;
/* rgb */ color: rgb(138, 77, 130);
/* oklch */ color: oklch(51.1% 0.109 332.0);
Tailwind
colors: {
  custom: {
    50: '#ad80a6',
    500: '#8a4d82',
    950: '#000000',
  },
}
SCSS
$custom: #8a4d82;
$custom-light: #ad80a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4d82",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 130
  },
  "hsl": {
    "h": 307.869,
    "s": 28.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51131,
    "c": 0.10891,
    "h": 332
  },
  "luminance": 0.12323
}

Semantic roles & 50–950 ramp

primary
#8A4D82
secondary
#85AE8B
accent
#C57063
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A4D82

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

Preview Lab → · Contrast checker → · Palette generator →

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