#8A4486#8A4486

#8A4486 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 49.9% C 0.129 H 329.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8A4486
RGBrgb(138, 68, 134)
HSLhsl(303, 34%, 40%)
HSVhsv(303, 51%, 54%)
CMYKcmyk(0%, 50.7%, 2.9%, 45.9%)
CIE-LABlab(40.01, 39.45, -23.96)
CIE-LCHlch(40.01, 46.15, 328.73°)
OKLaboklab(49.91% 0.111 -0.0655)
OKLCHoklch(49.91% 0.129 329.5)
XYZxyz(16.8512, 11.2597, 23.8354)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4486 #448A48
analogous
#6B448A #8A4486 #8A4463
triadic
#8A4486 #868A44 #44868A
tetradic
#8A4486 #8A6B44 #448A48 #44638A
square
#8A4486 #8A6B44 #448A48 #44638A
split-complementary
#8A4486 #638A44 #448A6B
monochromatic
#381C36 #61305E #8A4486 #AF5CAA #C385C0

Accessibility & contrast

On white

6.46
#8A4486 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8A4486 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4486
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4486#FFFFFF#000000##FFFFFF
##8A44861.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405888
Deuteranopia (green-blind)
#546284
Tritanopia (blue-blind)
#8E4A5F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a4486;
/* rgb */ color: rgb(138, 68, 134);
/* oklch */ color: oklch(49.9% 0.129 329.5);
Tailwind
colors: {
  custom: {
    50: '#ae7ba9',
    500: '#8a4486',
    950: '#000000',
  },
}
SCSS
$custom: #8a4486;
$custom-light: #ae7ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4486",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 134
  },
  "hsl": {
    "h": 303.429,
    "s": 33.981,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49914,
    "c": 0.12888,
    "h": 329.5
  },
  "luminance": 0.11259
}

Semantic roles & 50–950 ramp

primary
#8A4486
secondary
#7CAE7F
accent
#CA645E
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #8A4486

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

Preview Lab → · Contrast checker → · Palette generator →

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