#8A32AE#8A32AE

#8A32AE is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.195 H 314.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8A32AE
RGBrgb(138, 50, 174)
HSLhsl(283, 55%, 44%)
HSVhsv(283, 71%, 68%)
CMYKcmyk(20.7%, 71.3%, 0%, 31.8%)
CIE-LABlab(39.14, 56.01, -49.46)
CIE-LCHlch(39.14, 74.72, 318.55°)
OKLaboklab(50.01% 0.1356 -0.1394)
OKLCHoklch(50.01% 0.195 314.2)
XYZxyz(19.2605, 10.7411, 41.0949)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32AE #56AE32
analogous
#4C32AE #8A32AE #AE3294
triadic
#8A32AE #AE8A32 #32AE8A
tetradic
#8A32AE #AE4C32 #56AE32 #3294AE
square
#8A32AE #AE4C32 #56AE32 #3294AE
split-complementary
#8A32AE #94AE32 #32AE4C
monochromatic
#3F174F #64247E #8A32AE #A950CD #C080DA

Accessibility & contrast

On white

6.67
#8A32AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8A32AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A32AE
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32AE#FFFFFF#000000##FFFFFF
##8A32AE1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#2B5EAB
Tritanopia (blue-blind)
#874C6D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a32ae;
/* rgb */ color: rgb(138, 50, 174);
/* oklch */ color: oklch(50.0% 0.195 314.2);
Tailwind
colors: {
  custom: {
    50: '#b072c7',
    500: '#8a32ae',
    950: '#000000',
  },
}
SCSS
$custom: #8a32ae;
$custom-light: #b072c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32ae",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 282.581,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50006,
    "c": 0.19452,
    "h": 314.2
  },
  "luminance": 0.1074
}

Semantic roles & 50–950 ramp

primary
#8A32AE
secondary
#8EC478
accent
#DF4975
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A32AE

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

Preview Lab → · Contrast checker → · Palette generator →

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