#8A32B5#8A32B5

#8A32B5 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.5% C 0.201 H 312.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8A32B5
RGBrgb(138, 50, 181)
HSLhsl(280, 57%, 45%)
HSVhsv(280, 72%, 71%)
CMYKcmyk(23.8%, 72.4%, 0%, 29%)
CIE-LABlab(39.62, 57.48, -52.85)
CIE-LCHlch(39.62, 78.08, 317.40°)
OKLaboklab(50.5% 0.1348 -0.1494)
OKLCHoklch(50.5% 0.201 312.1)
XYZxyz(19.9608, 11.0212, 44.7829)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32B5 #5DB532
analogous
#4832B5 #8A32B5 #B5329F
triadic
#8A32B5 #B58A32 #32B58A
tetradic
#8A32B5 #B54832 #5DB532 #329FB5
square
#8A32B5 #B54832 #5DB532 #329FB5
split-complementary
#8A32B5 #9FB532 #32B548
monochromatic
#411855 #652585 #8A32B5 #A754D0 #C084DD

Accessibility & contrast

On white

6.55
#8A32B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8A32B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A32B5
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32B5#FFFFFF#000000##FFFFFF
##8A32B51.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#215FB2
Tritanopia (blue-blind)
#854F71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a32b5;
/* rgb */ color: rgb(138, 50, 181);
/* oklch */ color: oklch(50.5% 0.201 312.1);
Tailwind
colors: {
  custom: {
    50: '#b072cc',
    500: '#8a32b5',
    950: '#000000',
  },
}
SCSS
$custom: #8a32b5;
$custom-light: #b072cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32b5",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 280.305,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50495,
    "c": 0.20119,
    "h": 312.1
  },
  "luminance": 0.11021
}

Semantic roles & 50–950 ramp

primary
#8A32B5
secondary
#95C77C
accent
#E0487A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8A32B5

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

Preview Lab → · Contrast checker → · Palette generator →

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