#8A4E82#8A4E82

#8A4E82 is a mid, moderate purple. Relative luminance 0.125; OKLCH L 51.3% C 0.107 H 332.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8A4E82
RGBrgb(138, 78, 130)
HSLhsl(308, 28%, 42%)
HSVhsv(308, 43%, 54%)
CMYKcmyk(0%, 43.5%, 5.8%, 45.9%)
CIE-LABlab(41.95, 33.24, -18.53)
CIE-LCHlch(41.95, 38.06, 330.86°)
OKLaboklab(51.3% 0.0946 -0.0502)
OKLCHoklch(51.3% 0.107 332)
XYZxyz(17.2347, 12.4647, 22.6129)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E82 #4E8A56
analogous
#744E8A #8A4E82 #8A4E64
triadic
#8A4E82 #828A4E #4E828A
tetradic
#8A4E82 #8A744E #4E8A56 #4E648A
square
#8A4E82 #8A744E #4E8A56 #4E648A
split-complementary
#8A4E82 #648A4E #4E8A74
monochromatic
#3C2238 #63385D #8A4E82 #AB6AA2 #C191BB

Accessibility & contrast

On white

6.01
#8A4E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8A4E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E82
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E82#FFFFFF#000000##FFFFFF
##8A4E821.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5E84
Deuteranopia (green-blind)
#5C6680
Tritanopia (blue-blind)
#8F5262
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a4e82;
/* rgb */ color: rgb(138, 78, 130);
/* oklch */ color: oklch(51.3% 0.107 332.0);
Tailwind
colors: {
  custom: {
    50: '#ad81a6',
    500: '#8a4e82',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e82;
$custom-light: #ad81a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e82",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 308,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51295,
    "c": 0.10706,
    "h": 332
  },
  "luminance": 0.12464
}

Semantic roles & 50–950 ramp

primary
#8A4E82
secondary
#86AE8B
accent
#C47164
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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