#8A4997#8A4997

#8A4997 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 51.5% C 0.137 H 320.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8A4997
RGBrgb(138, 73, 151)
HSLhsl(290, 35%, 44%)
HSVhsv(290, 52%, 59%)
CMYKcmyk(8.6%, 51.7%, 0%, 40.8%)
CIE-LABlab(41.85, 40.14, -31.40)
CIE-LCHlch(41.85, 50.96, 321.97°)
OKLaboklab(51.54% 0.1063 -0.0869)
OKLCHoklch(51.54% 0.137 320.7)
XYZxyz(18.4490, 12.4035, 30.6945)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4997 #569749
analogous
#634997 #8A4997 #97497D
triadic
#8A4997 #978A49 #49978A
tetradic
#8A4997 #976349 #569749 #497D97
square
#8A4997 #976349 #569749 #497D97
split-complementary
#8A4997 #7D9749 #499763
monochromatic
#3F2144 #64356E #8A4997 #A967B6 #C091CA

Accessibility & contrast

On white

6.03
#8A4997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8A4997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4997
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4997#FFFFFF#000000##FFFFFF
##8A49971.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5E9A
Deuteranopia (green-blind)
#506595
Tritanopia (blue-blind)
#8B5469
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a4997;
/* rgb */ color: rgb(138, 73, 151);
/* oklch */ color: oklch(51.5% 0.137 320.7);
Tailwind
colors: {
  custom: {
    50: '#ae7eb6',
    500: '#8a4997',
    950: '#000000',
  },
}
SCSS
$custom: #8a4997;
$custom-light: #ae7eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4997",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 151
  },
  "hsl": {
    "h": 290,
    "s": 34.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51541,
    "c": 0.13733,
    "h": 320.7
  },
  "luminance": 0.12403
}

Semantic roles & 50–950 ramp

primary
#8A4997
secondary
#8EB686
accent
#CB5D6F
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #8A4997

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

Preview Lab → · Contrast checker → · Palette generator →

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