#8A32A7#8A32A7

#8A32A7 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.5% C 0.188 H 316.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8A32A7
RGBrgb(138, 50, 167)
HSLhsl(285, 54%, 43%)
HSVhsv(285, 70%, 65%)
CMYKcmyk(17.4%, 70.1%, 0%, 34.5%)
CIE-LABlab(38.68, 54.57, -46.03)
CIE-LCHlch(38.68, 71.39, 319.85°)
OKLaboklab(49.53% 0.1363 -0.1294)
OKLCHoklch(49.53% 0.188 316.5)
XYZxyz(18.5958, 10.4752, 37.5941)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32A7 #4FA732
analogous
#4F32A7 #8A32A7 #A7328A
triadic
#8A32A7 #A78A32 #32A78A
tetradic
#8A32A7 #A74F32 #4FA732 #328AA7
square
#8A32A7 #A74F32 #4FA732 #328AA7
split-complementary
#8A32A7 #8AA732 #32A74F
monochromatic
#3C1649 #632478 #8A32A7 #AB4DCA #C17CD8

Accessibility & contrast

On white

6.79
#8A32A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8A32A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A32A7
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32A7#FFFFFF#000000##FFFFFF
##8A32A71.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#335EA4
Tritanopia (blue-blind)
#884969
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a32a7;
/* rgb */ color: rgb(138, 50, 167);
/* oklch */ color: oklch(49.5% 0.188 316.5);
Tailwind
colors: {
  custom: {
    50: '#b072c2',
    500: '#8a32a7',
    950: '#000000',
  },
}
SCSS
$custom: #8a32a7;
$custom-light: #b072c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32a7",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 167
  },
  "hsl": {
    "h": 285.128,
    "s": 53.917,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49532,
    "c": 0.18789,
    "h": 316.5
  },
  "luminance": 0.10474
}

Semantic roles & 50–950 ramp

primary
#8A32A7
secondary
#87C074
accent
#DD4B6F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8A32A7

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

Preview Lab → · Contrast checker → · Palette generator →

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