#8A32A3#8A32A3

#8A32A3 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.184 H 317.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8A32A3
RGBrgb(138, 50, 163)
HSLhsl(287, 53%, 42%)
HSVhsv(287, 69%, 64%)
CMYKcmyk(15.3%, 69.3%, 0%, 36.1%)
CIE-LABlab(38.43, 53.76, -44.04)
CIE-LCHlch(38.43, 69.49, 320.67°)
OKLaboklab(49.27% 0.1365 -0.1235)
OKLCHoklch(49.27% 0.184 317.9)
XYZxyz(18.2318, 10.3296, 35.6767)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32A3 #4BA332
analogous
#5232A3 #8A32A3 #A33284
triadic
#8A32A3 #A38A32 #32A38A
tetradic
#8A32A3 #A35232 #4BA332 #3284A3
square
#8A32A3 #A35232 #4BA332 #3284A3
split-complementary
#8A32A3 #84A332 #32A352
monochromatic
#3B1545 #622474 #8A32A3 #AC4BC8 #C279D6

Accessibility & contrast

On white

6.85
#8A32A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A32A3
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32A3#FFFFFF#000000##FFFFFF
##8A32A31.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#365DA0
Tritanopia (blue-blind)
#894767
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a32a3;
/* rgb */ color: rgb(138, 50, 163);
/* oklch */ color: oklch(49.3% 0.184 317.9);
Tailwind
colors: {
  custom: {
    50: '#b071bf',
    500: '#8a32a3',
    950: '#000000',
  },
}
SCSS
$custom: #8a32a3;
$custom-light: #b071bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32a3",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 163
  },
  "hsl": {
    "h": 286.726,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49268,
    "c": 0.18413,
    "h": 317.9
  },
  "luminance": 0.10329
}

Semantic roles & 50–950 ramp

primary
#8A32A3
secondary
#83BF72
accent
#DC4B6B
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A32A3

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

Preview Lab → · Contrast checker → · Palette generator →

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