#8A32A1#8A32A1

#8A32A1 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.1% C 0.182 H 318.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8A32A1
RGBrgb(138, 50, 161)
HSLhsl(288, 53%, 41%)
HSVhsv(288, 69%, 63%)
CMYKcmyk(14.3%, 68.9%, 0%, 36.9%)
CIE-LABlab(38.30, 53.36, -43.04)
CIE-LCHlch(38.30, 68.55, 321.11°)
OKLaboklab(49.14% 0.1366 -0.1206)
OKLCHoklch(49.14% 0.182 318.6)
XYZxyz(18.0540, 10.2585, 34.7404)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32A1 #49A132
analogous
#5332A1 #8A32A1 #A13281
triadic
#8A32A1 #A18A32 #32A18A
tetradic
#8A32A1 #A15332 #49A132 #3281A1
square
#8A32A1 #A15332 #49A132 #3281A1
split-complementary
#8A32A1 #81A132 #32A153
monochromatic
#3A1544 #622372 #8A32A1 #AD4AC7 #C278D5

Accessibility & contrast

On white

6.88
#8A32A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8A32A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A32A1
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32A1#FFFFFF#000000##FFFFFF
##8A32A11.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#385D9E
Tritanopia (blue-blind)
#8A4766
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a32a1;
/* rgb */ color: rgb(138, 50, 161);
/* oklch */ color: oklch(49.1% 0.182 318.6);
Tailwind
colors: {
  custom: {
    50: '#af71bd',
    500: '#8a32a1',
    950: '#000000',
  },
}
SCSS
$custom: #8a32a1;
$custom-light: #af71bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32a1",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 161
  },
  "hsl": {
    "h": 287.568,
    "s": 52.607,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49138,
    "c": 0.18226,
    "h": 318.6
  },
  "luminance": 0.10258
}

Semantic roles & 50–950 ramp

primary
#8A32A1
secondary
#81BE71
accent
#DC4C6A
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A32A1

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

Preview Lab → · Contrast checker → · Palette generator →

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