#8B32B3#8B32B3

#8B32B3 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.200 H 313.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8B32B3
RGBrgb(139, 50, 179)
HSLhsl(281, 56%, 45%)
HSVhsv(281, 72%, 70%)
CMYKcmyk(22.3%, 72.1%, 0%, 29.8%)
CIE-LABlab(39.62, 57.26, -51.64)
CIE-LCHlch(39.62, 77.11, 317.95°)
OKLaboklab(50.49% 0.1363 -0.1458)
OKLCHoklch(50.49% 0.2 313.1)
XYZxyz(19.9233, 11.0254, 43.7177)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B32B3 #5AB332
analogous
#4A32B3 #8B32B3 #B3329B
triadic
#8B32B3 #B38B32 #32B38B
tetradic
#8B32B3 #B34A32 #5AB332 #329BB3
square
#8B32B3 #B34A32 #5AB332 #329BB3
split-complementary
#8B32B3 #9BB332 #32B34A
monochromatic
#411753 #662583 #8B32B3 #A953CF #C183DC

Accessibility & contrast

On white

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

On black

3.21
#8B32B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8B32B3#FFFFFF#000000##FFFFFF
##8B32B31.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b32b3;
/* rgb */ color: rgb(139, 50, 179);
/* oklch */ color: oklch(50.5% 0.200 313.1);
Tailwind
colors: {
  custom: {
    50: '#b172ca',
    500: '#8b32b3',
    950: '#000000',
  },
}
SCSS
$custom: #8b32b3;
$custom-light: #b172ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b32b3",
  "rgb": {
    "r": 139,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 281.395,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50486,
    "c": 0.19962,
    "h": 313.1
  },
  "luminance": 0.11025
}

Semantic roles & 50–950 ramp

primary
#8B32B3
secondary
#92C67B
accent
#E04877
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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