#8A4986#8A4986

#8A4986 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 50.7% C 0.120 H 329.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8A4986
RGBrgb(138, 73, 134)
HSLhsl(304, 31%, 41%)
HSVhsv(304, 47%, 54%)
CMYKcmyk(0%, 47.1%, 2.9%, 45.9%)
CIE-LABlab(41.04, 36.76, -22.37)
CIE-LCHlch(41.04, 43.03, 328.68°)
OKLaboklab(50.68% 0.1034 -0.061)
OKLCHoklch(50.68% 0.12 329.5)
XYZxyz(17.1666, 11.8905, 23.9405)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4986 #498A4D
analogous
#6E498A #8A4986 #8A4966
triadic
#8A4986 #868A49 #49868A
tetradic
#8A4986 #8A6E49 #498A4D #49668A
square
#8A4986 #8A6E49 #498A4D #49668A
split-complementary
#8A4986 #668A49 #498A6E
monochromatic
#3A1F38 #62345F #8A4986 #AD63A8 #C28BBF

Accessibility & contrast

On white

6.22
#8A4986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8A4986 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4986
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4986#FFFFFF#000000##FFFFFF
##8A49861.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455B88
Deuteranopia (green-blind)
#576484
Tritanopia (blue-blind)
#8E4F61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a4986;
/* rgb */ color: rgb(138, 73, 134);
/* oklch */ color: oklch(50.7% 0.120 329.5);
Tailwind
colors: {
  custom: {
    50: '#ae7ea9',
    500: '#8a4986',
    950: '#000000',
  },
}
SCSS
$custom: #8a4986;
$custom-light: #ae7ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4986",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 134
  },
  "hsl": {
    "h": 303.692,
    "s": 30.806,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50677,
    "c": 0.12004,
    "h": 329.5
  },
  "luminance": 0.1189
}

Semantic roles & 50–950 ramp

primary
#8A4986
secondary
#81AE84
accent
#C76761
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A4986

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

Preview Lab → · Contrast checker → · Palette generator →

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