#8A32A9#8A32A9

#8A32A9 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.190 H 315.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8A32A9
RGBrgb(138, 50, 169)
HSLhsl(284, 54%, 43%)
HSVhsv(284, 70%, 66%)
CMYKcmyk(18.3%, 70.4%, 0%, 33.7%)
CIE-LABlab(38.81, 54.97, -47.02)
CIE-LCHlch(38.81, 72.34, 319.46°)
OKLaboklab(49.67% 0.1361 -0.1323)
OKLCHoklch(49.67% 0.19 315.8)
XYZxyz(18.7821, 10.5498, 38.5754)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32A9 #51A932
analogous
#4F32A9 #8A32A9 #A9328C
triadic
#8A32A9 #A98A32 #32A98A
tetradic
#8A32A9 #A94F32 #51A932 #328CA9
square
#8A32A9 #A94F32 #51A932 #328CA9
split-complementary
#8A32A9 #8CA932 #32A94F
monochromatic
#3D164B #63247A #8A32A9 #AA4ECB #C17DD9

Accessibility & contrast

On white

6.75
#8A32A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8A32A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A32A9
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32A9#FFFFFF#000000##FFFFFF
##8A32A91.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#315EA6
Tritanopia (blue-blind)
#884A6A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a32a9;
/* rgb */ color: rgb(138, 50, 169);
/* oklch */ color: oklch(49.7% 0.190 315.8);
Tailwind
colors: {
  custom: {
    50: '#b072c3',
    500: '#8a32a9',
    950: '#000000',
  },
}
SCSS
$custom: #8a32a9;
$custom-light: #b072c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32a9",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 169
  },
  "hsl": {
    "h": 284.37,
    "s": 54.338,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49666,
    "c": 0.18979,
    "h": 315.8
  },
  "luminance": 0.10549
}

Semantic roles & 50–950 ramp

primary
#8A32A9
secondary
#89C176
accent
#DE4A71
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8A32A9

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

Preview Lab → · Contrast checker → · Palette generator →

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