#8A32B3#8A32B3

#8A32B3 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.4% C 0.199 H 312.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8A32B3
RGBrgb(138, 50, 179)
HSLhsl(281, 56%, 45%)
HSVhsv(281, 72%, 70%)
CMYKcmyk(22.9%, 72.1%, 0%, 29.8%)
CIE-LABlab(39.48, 57.05, -51.88)
CIE-LCHlch(39.48, 77.12, 317.72°)
OKLaboklab(50.35% 0.1351 -0.1465)
OKLCHoklch(50.35% 0.199 312.7)
XYZxyz(19.7571, 10.9397, 43.7099)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32B3 #5BB332
analogous
#4932B3 #8A32B3 #B3329C
triadic
#8A32B3 #B38A32 #32B38A
tetradic
#8A32B3 #B34932 #5BB332 #329CB3
square
#8A32B3 #B34932 #5BB332 #329CB3
split-complementary
#8A32B3 #9CB332 #32B349
monochromatic
#401753 #652583 #8A32B3 #A853CF #C083DC

Accessibility & contrast

On white

6.59
#8A32B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8A32B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A32B3
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32B3#FFFFFF#000000##FFFFFF
##8A32B31.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#245FB0
Tritanopia (blue-blind)
#854E6F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a32b3;
/* rgb */ color: rgb(138, 50, 179);
/* oklch */ color: oklch(50.4% 0.199 312.7);
Tailwind
colors: {
  custom: {
    50: '#b072ca',
    500: '#8a32b3',
    950: '#000000',
  },
}
SCSS
$custom: #8a32b3;
$custom-light: #b072ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32b3",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 280.93,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50354,
    "c": 0.19928,
    "h": 312.7
  },
  "luminance": 0.10939
}

Semantic roles & 50–950 ramp

primary
#8A32B3
secondary
#93C67B
accent
#E04878
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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