#8A479A#8A479A

#8A479A is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.4% C 0.144 H 319.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8A479A
RGBrgb(138, 71, 154)
HSLhsl(288, 37%, 44%)
HSVhsv(288, 54%, 60%)
CMYKcmyk(10.4%, 53.9%, 0%, 39.6%)
CIE-LABlab(41.60, 41.83, -33.59)
CIE-LCHlch(41.60, 53.65, 321.24°)
OKLaboklab(51.41% 0.1096 -0.0932)
OKLCHoklch(51.41% 0.144 319.6)
XYZxyz(18.5665, 12.2436, 31.9508)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A479A #579A47
analogous
#61479A #8A479A #9A4781
triadic
#8A479A #9A8A47 #479A8A
tetradic
#8A479A #9A6147 #579A47 #47819A
square
#8A479A #9A6147 #579A47 #47819A
split-complementary
#8A479A #819A47 #479A61
monochromatic
#3F2046 #643470 #8A479A #A866B8 #C090CC

Accessibility & contrast

On white

6.09
#8A479A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8A479A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A479A
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A479A#FFFFFF#000000##FFFFFF
##8A479A1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375E9D
Deuteranopia (green-blind)
#4D6598
Tritanopia (blue-blind)
#8B536A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a479a;
/* rgb */ color: rgb(138, 71, 154);
/* oklch */ color: oklch(51.4% 0.144 319.6);
Tailwind
colors: {
  custom: {
    50: '#ae7db8',
    500: '#8a479a',
    950: '#000000',
  },
}
SCSS
$custom: #8a479a;
$custom-light: #ae7db8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a479a",
  "rgb": {
    "r": 138,
    "g": 71,
    "b": 154
  },
  "hsl": {
    "h": 288.434,
    "s": 36.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51407,
    "c": 0.14388,
    "h": 319.6
  },
  "luminance": 0.12243
}

Semantic roles & 50–950 ramp

primary
#8A479A
secondary
#8FB785
accent
#CD5B71
background
#FAF7FB
surface
#F5EEF6
border
#CFC9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8A479A

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

Preview Lab → · Contrast checker → · Palette generator →

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