#8A4899#8A4899

#8A4899 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 51.5% C 0.141 H 319.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8A4899
RGBrgb(138, 72, 153)
HSLhsl(289, 36%, 44%)
HSVhsv(289, 53%, 60%)
CMYKcmyk(9.8%, 52.9%, 0%, 40%)
CIE-LABlab(41.75, 41.10, -32.76)
CIE-LCHlch(41.75, 52.55, 321.44°)
OKLaboklab(51.5% 0.108 -0.0908)
OKLCHoklch(51.5% 0.141 319.9)
XYZxyz(18.5477, 12.3387, 31.5354)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4899 #579948
analogous
#624899 #8A4899 #994880
triadic
#8A4899 #998A48 #48998A
tetradic
#8A4899 #996248 #579948 #488099
square
#8A4899 #996248 #579948 #488099
split-complementary
#8A4899 #809948 #489962
monochromatic
#3F2146 #64346F #8A4899 #A867B7 #C090CB

Accessibility & contrast

On white

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

On black

3.47
#8A4899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A4899#FFFFFF#000000##FFFFFF
##8A48991.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5E9C
Deuteranopia (green-blind)
#4E6597
Tritanopia (blue-blind)
#8B536A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a4899;
/* rgb */ color: rgb(138, 72, 153);
/* oklch */ color: oklch(51.5% 0.141 319.9);
Tailwind
colors: {
  custom: {
    50: '#ae7eb7',
    500: '#8a4899',
    950: '#000000',
  },
}
SCSS
$custom: #8a4899;
$custom-light: #ae7eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4899",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 153
  },
  "hsl": {
    "h": 288.889,
    "s": 36,
    "l": 44.118
  },
  "oklch": {
    "l": 0.515,
    "c": 0.14115,
    "h": 319.9
  },
  "luminance": 0.12338
}

Semantic roles & 50–950 ramp

primary
#8A4899
secondary
#8FB786
accent
#CC5C71
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #8A4899

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

Preview Lab → · Contrast checker → · Palette generator →

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