#8A32AA#8A32AA

#8A32AA is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.7% C 0.191 H 315.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8A32AA
RGBrgb(138, 50, 170)
HSLhsl(284, 55%, 43%)
HSVhsv(284, 71%, 67%)
CMYKcmyk(18.8%, 70.6%, 0%, 33.3%)
CIE-LABlab(38.88, 55.18, -47.51)
CIE-LCHlch(38.88, 72.81, 319.27°)
OKLaboklab(49.73% 0.136 -0.1337)
OKLCHoklch(49.73% 0.191 315.5)
XYZxyz(18.8764, 10.5875, 39.0717)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32AA #52AA32
analogous
#4E32AA #8A32AA #AA328E
triadic
#8A32AA #AA8A32 #32AA8A
tetradic
#8A32AA #AA4E32 #52AA32 #328EAA
square
#8A32AA #AA4E32 #52AA32 #328EAA
split-complementary
#8A32AA #8EAA32 #32AA4E
monochromatic
#3D164B #64247B #8A32AA #AA4ECB #C17DD9

Accessibility & contrast

On white

6.74
#8A32AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8A32AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A32AA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32AA#FFFFFF#000000##FFFFFF
##8A32AA1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#305EA7
Tritanopia (blue-blind)
#884A6A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a32aa;
/* rgb */ color: rgb(138, 50, 170);
/* oklch */ color: oklch(49.7% 0.191 315.5);
Tailwind
colors: {
  custom: {
    50: '#b072c4',
    500: '#8a32aa',
    950: '#000000',
  },
}
SCSS
$custom: #8a32aa;
$custom-light: #b072c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32aa",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 284,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49733,
    "c": 0.19073,
    "h": 315.5
  },
  "luminance": 0.10587
}

Semantic roles & 50–950 ramp

primary
#8A32AA
secondary
#8AC276
accent
#DE4A71
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A32AA

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

Preview Lab → · Contrast checker → · Palette generator →

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