#8B32BA#8B32BA

#8B32BA is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.0% C 0.206 H 311.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8B32BA
RGBrgb(139, 50, 186)
HSLhsl(279, 58%, 46%)
HSVhsv(279, 73%, 73%)
CMYKcmyk(25.3%, 73.1%, 0%, 27.1%)
CIE-LABlab(40.11, 58.74, -54.99)
CIE-LCHlch(40.11, 80.46, 316.89°)
OKLaboklab(50.98% 0.1354 -0.1556)
OKLCHoklch(50.98% 0.206 311)
XYZxyz(20.6493, 11.3158, 47.5413)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B32BA #61BA32
analogous
#4732BA #8B32BA #BA32A5
triadic
#8B32BA #BA8B32 #32BA8B
tetradic
#8B32BA #BA4732 #61BA32 #32A5BA
square
#8B32BA #BA4732 #61BA32 #32A5BA
split-complementary
#8B32BA #A5BA32 #32BA47
monochromatic
#43185A #67258A #8B32BA #A857D2 #C188DF

Accessibility & contrast

On white

6.44
#8B32BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8B32BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B32BA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B32BA#FFFFFF#000000##FFFFFF
##8B32BA1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#1A60B7
Tritanopia (blue-blind)
#855173
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b32ba;
/* rgb */ color: rgb(139, 50, 186);
/* oklch */ color: oklch(51.0% 0.206 311.0);
Tailwind
colors: {
  custom: {
    50: '#b172d0',
    500: '#8b32ba',
    950: '#000000',
  },
}
SCSS
$custom: #8b32ba;
$custom-light: #b172d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b32ba",
  "rgb": {
    "r": 139,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 279.265,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50983,
    "c": 0.20627,
    "h": 311
  },
  "luminance": 0.11315
}

Semantic roles & 50–950 ramp

primary
#8B32BA
secondary
#99C97F
accent
#E1477C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B32BA

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

Preview Lab → · Contrast checker → · Palette generator →

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