#8A32A6#8A32A6

#8A32A6 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.187 H 316.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8A32A6
RGBrgb(138, 50, 166)
HSLhsl(286, 54%, 42%)
HSVhsv(286, 70%, 65%)
CMYKcmyk(16.9%, 69.9%, 0%, 34.9%)
CIE-LABlab(38.62, 54.36, -45.53)
CIE-LCHlch(38.62, 70.91, 320.05°)
OKLaboklab(49.47% 0.1363 -0.1279)
OKLCHoklch(49.47% 0.187 316.8)
XYZxyz(18.5037, 10.4384, 37.1091)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32A6 #4EA632
analogous
#5032A6 #8A32A6 #A63288
triadic
#8A32A6 #A68A32 #32A68A
tetradic
#8A32A6 #A65032 #4EA632 #3288A6
square
#8A32A6 #A65032 #4EA632 #3288A6
split-complementary
#8A32A6 #88A632 #32A650
monochromatic
#3C1648 #632477 #8A32A6 #AB4CC9 #C17BD7

Accessibility & contrast

On white

6.80
#8A32A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8A32A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A32A6
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32A6#FFFFFF#000000##FFFFFF
##8A32A61.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#345EA3
Tritanopia (blue-blind)
#894968
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a32a6;
/* rgb */ color: rgb(138, 50, 166);
/* oklch */ color: oklch(49.5% 0.187 316.8);
Tailwind
colors: {
  custom: {
    50: '#b071c1',
    500: '#8a32a6',
    950: '#000000',
  },
}
SCSS
$custom: #8a32a6;
$custom-light: #b071c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32a6",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 166
  },
  "hsl": {
    "h": 285.517,
    "s": 53.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49465,
    "c": 0.18695,
    "h": 316.8
  },
  "luminance": 0.10438
}

Semantic roles & 50–950 ramp

primary
#8A32A6
secondary
#86C074
accent
#DD4B6E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A32A6

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

Preview Lab → · Contrast checker → · Palette generator →

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