#8A32A4#8A32A4

#8A32A4 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.3% C 0.185 H 317.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8A32A4
RGBrgb(138, 50, 164)
HSLhsl(286, 53%, 42%)
HSVhsv(286, 70%, 64%)
CMYKcmyk(15.9%, 69.5%, 0%, 35.7%)
CIE-LABlab(38.49, 53.96, -44.54)
CIE-LCHlch(38.49, 69.97, 320.46°)
OKLaboklab(49.33% 0.1365 -0.125)
OKLCHoklch(49.33% 0.185 317.5)
XYZxyz(18.3217, 10.3656, 36.1504)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32A4 #4CA432
analogous
#5132A4 #8A32A4 #A43285
triadic
#8A32A4 #A48A32 #32A48A
tetradic
#8A32A4 #A45132 #4CA432 #3285A4
square
#8A32A4 #A45132 #4CA432 #3285A4
split-complementary
#8A32A4 #85A432 #32A451
monochromatic
#3B1546 #632475 #8A32A4 #AC4BC8 #C17AD6

Accessibility & contrast

On white

6.83
#8A32A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8A32A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A32A4
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32A4#FFFFFF#000000##FFFFFF
##8A32A41.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#355DA1
Tritanopia (blue-blind)
#894867
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a32a4;
/* rgb */ color: rgb(138, 50, 164);
/* oklch */ color: oklch(49.3% 0.185 317.5);
Tailwind
colors: {
  custom: {
    50: '#b071bf',
    500: '#8a32a4',
    950: '#000000',
  },
}
SCSS
$custom: #8a32a4;
$custom-light: #b071bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32a4",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 164
  },
  "hsl": {
    "h": 286.316,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49333,
    "c": 0.18507,
    "h": 317.5
  },
  "luminance": 0.10365
}

Semantic roles & 50–950 ramp

primary
#8A32A4
secondary
#84BF73
accent
#DD4B6C
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A32A4

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

Preview Lab → · Contrast checker → · Palette generator →

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