#8A4D99#8A4D99

#8A4D99 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 52.3% C 0.133 H 319.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8A4D99
RGBrgb(138, 77, 153)
HSLhsl(288, 33%, 45%)
HSVhsv(288, 50%, 60%)
CMYKcmyk(9.8%, 49.7%, 0%, 40%)
CIE-LABlab(42.78, 38.39, -31.14)
CIE-LCHlch(42.78, 49.43, 320.96°)
OKLaboklab(52.26% 0.1008 -0.0862)
OKLCHoklch(52.26% 0.133 319.5)
XYZxyz(18.8841, 13.0116, 31.6476)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4D99 #5C994D
analogous
#644D99 #8A4D99 #994D82
triadic
#8A4D99 #998A4D #4D998A
tetradic
#8A4D99 #99644D #5C994D #4D8299
square
#8A4D99 #99644D #5C994D #4D8299
split-complementary
#8A4D99 #82994D #4D9964
monochromatic
#412448 #653970 #8A4D99 #A76DB6 #C096CA

Accessibility & contrast

On white

5.83
#8A4D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8A4D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4D99
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4D99#FFFFFF#000000##FFFFFF
##8A4D991.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40619C
Deuteranopia (green-blind)
#526797
Tritanopia (blue-blind)
#8B576C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a4d99;
/* rgb */ color: rgb(138, 77, 153);
/* oklch */ color: oklch(52.3% 0.133 319.5);
Tailwind
colors: {
  custom: {
    50: '#ae81b7',
    500: '#8a4d99',
    950: '#000000',
  },
}
SCSS
$custom: #8a4d99;
$custom-light: #ae81b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4d99",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 288.158,
    "s": 33.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52263,
    "c": 0.13258,
    "h": 319.5
  },
  "luminance": 0.13011
}

Semantic roles & 50–950 ramp

primary
#8A4D99
secondary
#94B78B
accent
#C95F74
background
#FAF8FB
surface
#F5EFF6
border
#CFCAD0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #8A4D99

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

Preview Lab → · Contrast checker → · Palette generator →

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