#8A4B82#8A4B82

#8A4B82 is a mid, moderate purple. Relative luminance 0.120; OKLCH L 50.8% C 0.113 H 331.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8A4B82
RGBrgb(138, 75, 130)
HSLhsl(308, 30%, 42%)
HSVhsv(308, 46%, 54%)
CMYKcmyk(0%, 45.7%, 5.8%, 45.9%)
CIE-LABlab(41.29, 34.91, -19.54)
CIE-LCHlch(41.29, 40.00, 330.76°)
OKLaboklab(50.81% 0.0993 -0.053)
OKLCHoklch(50.81% 0.113 331.9)
XYZxyz(17.0264, 12.0481, 22.5435)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4B82 #4B8A53
analogous
#734B8A #8A4B82 #8A4B63
triadic
#8A4B82 #828A4B #4B828A
tetradic
#8A4B82 #8A734B #4B8A53 #4B638A
square
#8A4B82 #8A734B #4B8A53 #4B638A
split-complementary
#8A4B82 #638A4B #4B8A73
monochromatic
#3B2037 #62355D #8A4B82 #AC66A3 #C28EBB

Accessibility & contrast

On white

6.16
#8A4B82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8A4B82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4B82
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4B82#FFFFFF#000000##FFFFFF
##8A4B821.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495C84
Deuteranopia (green-blind)
#5A6580
Tritanopia (blue-blind)
#8F4F60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a4b82;
/* rgb */ color: rgb(138, 75, 130);
/* oklch */ color: oklch(50.8% 0.113 331.9);
Tailwind
colors: {
  custom: {
    50: '#ae7fa6',
    500: '#8a4b82',
    950: '#000000',
  },
}
SCSS
$custom: #8a4b82;
$custom-light: #ae7fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4b82",
  "rgb": {
    "r": 138,
    "g": 75,
    "b": 130
  },
  "hsl": {
    "h": 307.619,
    "s": 29.577,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50806,
    "c": 0.11259,
    "h": 331.9
  },
  "luminance": 0.12047
}

Semantic roles & 50–950 ramp

primary
#8A4B82
secondary
#83AE89
accent
#C66F62
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A4B82

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

Preview Lab → · Contrast checker → · Palette generator →

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