#8A4482#8A4482

#8A4482 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 49.7% C 0.125 H 331.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8A4482
RGBrgb(138, 68, 130)
HSLhsl(307, 34%, 40%)
HSVhsv(307, 51%, 54%)
CMYKcmyk(0%, 50.7%, 5.8%, 45.9%)
CIE-LABlab(39.83, 38.70, -21.79)
CIE-LCHlch(39.83, 44.42, 330.62°)
OKLaboklab(49.72% 0.1102 -0.0593)
OKLCHoklch(49.72% 0.125 331.7)
XYZxyz(16.5775, 11.1502, 22.3938)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4482 #448A4C
analogous
#6F448A #8A4482 #8A445F
triadic
#8A4482 #828A44 #44828A
tetradic
#8A4482 #8A6F44 #448A4C #445F8A
square
#8A4482 #8A6F44 #448A4C #445F8A
split-complementary
#8A4482 #5F8A44 #448A6F
monochromatic
#381C35 #61305B #8A4482 #AF5CA5 #C385BC

Accessibility & contrast

On white

6.50
#8A4482 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8A4482 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4482
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4482#FFFFFF#000000##FFFFFF
##8A44821.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425884
Deuteranopia (green-blind)
#566180
Tritanopia (blue-blind)
#8F495D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a4482;
/* rgb */ color: rgb(138, 68, 130);
/* oklch */ color: oklch(49.7% 0.125 331.7);
Tailwind
colors: {
  custom: {
    50: '#ae7ba6',
    500: '#8a4482',
    950: '#000000',
  },
}
SCSS
$custom: #8a4482;
$custom-light: #ae7ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4482",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 130
  },
  "hsl": {
    "h": 306.857,
    "s": 33.981,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49719,
    "c": 0.12517,
    "h": 331.7
  },
  "luminance": 0.11149
}

Semantic roles & 50–950 ramp

primary
#8A4482
secondary
#7CAE81
accent
#CA6A5E
background
#FAF7FA
surface
#F5EEF4
border
#CFC9CE
text
#10090F
muted
#7F7B7F

Preview Lab

Preview with #8A4482

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

Preview Lab → · Contrast checker → · Palette generator →

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