#8A32AC#8A32AC

#8A32AC is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.193 H 314.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8A32AC
RGBrgb(138, 50, 172)
HSLhsl(283, 55%, 44%)
HSVhsv(283, 71%, 67%)
CMYKcmyk(19.8%, 70.9%, 0%, 32.5%)
CIE-LABlab(39.01, 55.59, -48.49)
CIE-LCHlch(39.01, 73.77, 318.90°)
OKLaboklab(49.87% 0.1358 -0.1366)
OKLCHoklch(49.87% 0.193 314.8)
XYZxyz(19.0670, 10.6637, 40.0756)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32AC #54AC32
analogous
#4D32AC #8A32AC #AC3291
triadic
#8A32AC #AC8A32 #32AC8A
tetradic
#8A32AC #AC4D32 #54AC32 #3291AC
square
#8A32AC #AC4D32 #54AC32 #3291AC
split-complementary
#8A32AC #91AC32 #32AC4D
monochromatic
#3E164D #64247D #8A32AC #A94FCC #C07FDA

Accessibility & contrast

On white

6.70
#8A32AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8A32AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A32AC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32AC#FFFFFF#000000##FFFFFF
##8A32AC1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#2D5EA9
Tritanopia (blue-blind)
#874B6C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a32ac;
/* rgb */ color: rgb(138, 50, 172);
/* oklch */ color: oklch(49.9% 0.193 314.8);
Tailwind
colors: {
  custom: {
    50: '#b072c5',
    500: '#8a32ac',
    950: '#000000',
  },
}
SCSS
$custom: #8a32ac;
$custom-light: #b072c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32ac",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 283.279,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49869,
    "c": 0.19262,
    "h": 314.8
  },
  "luminance": 0.10663
}

Semantic roles & 50–950 ramp

primary
#8A32AC
secondary
#8CC377
accent
#DE4A73
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A32AC

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

Preview Lab → · Contrast checker → · Palette generator →

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