#8A32AB#8A32AB

#8A32AB is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.192 H 315.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8A32AB
RGBrgb(138, 50, 171)
HSLhsl(284, 55%, 43%)
HSVhsv(284, 71%, 67%)
CMYKcmyk(19.3%, 70.8%, 0%, 32.9%)
CIE-LABlab(38.94, 55.39, -48.00)
CIE-LCHlch(38.94, 73.29, 319.09°)
OKLaboklab(49.8% 0.1359 -0.1351)
OKLCHoklch(49.8% 0.192 315.2)
XYZxyz(18.9713, 10.6254, 39.5718)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32AB #53AB32
analogous
#4D32AB #8A32AB #AB328F
triadic
#8A32AB #AB8A32 #32AB8A
tetradic
#8A32AB #AB4D32 #53AB32 #328FAB
square
#8A32AB #AB4D32 #53AB32 #328FAB
split-complementary
#8A32AB #8FAB32 #32AB4D
monochromatic
#3E164C #64247C #8A32AB #A94FCB #C07ED9

Accessibility & contrast

On white

6.72
#8A32AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8A32AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A32AB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32AB#FFFFFF#000000##FFFFFF
##8A32AB1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#2F5EA8
Tritanopia (blue-blind)
#874B6B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a32ab;
/* rgb */ color: rgb(138, 50, 171);
/* oklch */ color: oklch(49.8% 0.192 315.2);
Tailwind
colors: {
  custom: {
    50: '#b072c5',
    500: '#8a32ab',
    950: '#000000',
  },
}
SCSS
$custom: #8a32ab;
$custom-light: #b072c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32ab",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 283.636,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49801,
    "c": 0.19168,
    "h": 315.2
  },
  "luminance": 0.10625
}

Semantic roles & 50–950 ramp

primary
#8A32AB
secondary
#8BC277
accent
#DE4A72
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A32AB

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

Preview Lab → · Contrast checker → · Palette generator →

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