#8A4686#8A4686

#8A4686 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.2% C 0.125 H 329.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8A4686
RGBrgb(138, 70, 134)
HSLhsl(304, 33%, 41%)
HSVhsv(304, 49%, 54%)
CMYKcmyk(0%, 49.3%, 2.9%, 45.9%)
CIE-LABlab(40.42, 38.38, -23.33)
CIE-LCHlch(40.42, 44.92, 328.71°)
OKLaboklab(50.21% 0.108 -0.0637)
OKLCHoklch(50.21% 0.125 329.5)
XYZxyz(16.9743, 11.5058, 23.8764)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4686 #468A4A
analogous
#6C468A #8A4686 #8A4664
triadic
#8A4686 #868A46 #46868A
tetradic
#8A4686 #8A6C46 #468A4A #46648A
square
#8A4686 #8A6C46 #468A4A #46648A
split-complementary
#8A4686 #648A46 #468A6C
monochromatic
#391D37 #61315F #8A4686 #AE5FA9 #C388BF

Accessibility & contrast

On white

6.36
#8A4686 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8A4686 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4686
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4686#FFFFFF#000000##FFFFFF
##8A46861.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425988
Deuteranopia (green-blind)
#556384
Tritanopia (blue-blind)
#8E4C60
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a4686;
/* rgb */ color: rgb(138, 70, 134);
/* oklch */ color: oklch(50.2% 0.125 329.5);
Tailwind
colors: {
  custom: {
    50: '#ae7ca9',
    500: '#8a4686',
    950: '#000000',
  },
}
SCSS
$custom: #8a4686;
$custom-light: #ae7ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4686",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 134
  },
  "hsl": {
    "h": 303.529,
    "s": 32.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50214,
    "c": 0.12538,
    "h": 329.5
  },
  "luminance": 0.11505
}

Semantic roles & 50–950 ramp

primary
#8A4686
secondary
#7EAE81
accent
#C9655F
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8A4686

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

Preview Lab → · Contrast checker → · Palette generator →

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