#8B32B7#8B32B7

#8B32B7 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.8% C 0.203 H 311.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8B32B7
RGBrgb(139, 50, 183)
HSLhsl(280, 57%, 46%)
HSVhsv(280, 73%, 72%)
CMYKcmyk(24%, 72.7%, 0%, 28.2%)
CIE-LABlab(39.90, 58.10, -53.56)
CIE-LCHlch(39.90, 79.02, 317.33°)
OKLaboklab(50.77% 0.1358 -0.1514)
OKLCHoklch(50.77% 0.203 311.9)
XYZxyz(20.3337, 11.1896, 45.8792)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B32B7 #5EB732
analogous
#4832B7 #8B32B7 #B732A1
triadic
#8B32B7 #B78B32 #32B78B
tetradic
#8B32B7 #B74832 #5EB732 #32A1B7
square
#8B32B7 #B74832 #5EB732 #32A1B7
split-complementary
#8B32B7 #A1B732 #32B748
monochromatic
#421857 #662587 #8B32B7 #A856D1 #C186DE

Accessibility & contrast

On white

6.49
#8B32B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8B32B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B32B7
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B32B7#FFFFFF#000000##FFFFFF
##8B32B71.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#2060B4
Tritanopia (blue-blind)
#865072
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b32b7;
/* rgb */ color: rgb(139, 50, 183);
/* oklch */ color: oklch(50.8% 0.203 311.9);
Tailwind
colors: {
  custom: {
    50: '#b172cd',
    500: '#8b32b7',
    950: '#000000',
  },
}
SCSS
$custom: #8b32b7;
$custom-light: #b172cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b32b7",
  "rgb": {
    "r": 139,
    "g": 50,
    "b": 183
  },
  "hsl": {
    "h": 280.15,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50769,
    "c": 0.20342,
    "h": 311.9
  },
  "luminance": 0.11189
}

Semantic roles & 50–950 ramp

primary
#8B32B7
secondary
#96C77D
accent
#E0477A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B32B7

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

Preview Lab → · Contrast checker → · Palette generator →

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