#8A4499#8A4499

#8A4499 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 50.9% C 0.148 H 320.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8A4499
RGBrgb(138, 68, 153)
HSLhsl(289, 38%, 43%)
HSVhsv(289, 56%, 60%)
CMYKcmyk(9.8%, 55.6%, 0%, 40%)
CIE-LABlab(40.96, 43.20, -34.01)
CIE-LCHlch(40.96, 54.98, 321.79°)
OKLaboklab(50.92% 0.1137 -0.0944)
OKLCHoklch(50.92% 0.148 320.3)
XYZxyz(18.2974, 11.8382, 31.4520)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4499 #539944
analogous
#5F4499 #8A4499 #99447D
triadic
#8A4499 #998A44 #44998A
tetradic
#8A4499 #995F44 #539944 #447D99
square
#8A4499 #995F44 #539944 #447D99
split-complementary
#8A4499 #7D9944 #44995F
monochromatic
#3E1E44 #64316F #8A4499 #A961B9 #C08CCC

Accessibility & contrast

On white

6.24
#8A4499 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8A4499 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4499
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4499#FFFFFF#000000##FFFFFF
##8A44991.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9C
Deuteranopia (green-blind)
#4B6397
Tritanopia (blue-blind)
#8B5068
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a4499;
/* rgb */ color: rgb(138, 68, 153);
/* oklch */ color: oklch(50.9% 0.148 320.3);
Tailwind
colors: {
  custom: {
    50: '#ae7bb7',
    500: '#8a4499',
    950: '#000000',
  },
}
SCSS
$custom: #8a4499;
$custom-light: #ae7bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4499",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 153
  },
  "hsl": {
    "h": 289.412,
    "s": 38.462,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50917,
    "c": 0.14779,
    "h": 320.3
  },
  "luminance": 0.11837
}

Semantic roles & 50–950 ramp

primary
#8A4499
secondary
#8BB782
accent
#CE596E
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8A4499

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

Preview Lab → · Contrast checker → · Palette generator →

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