#8B32B9#8B32B9

#8B32B9 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.9% C 0.205 H 311.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8B32B9
RGBrgb(139, 50, 185)
HSLhsl(280, 57%, 46%)
HSVhsv(280, 73%, 73%)
CMYKcmyk(24.9%, 73%, 0%, 27.5%)
CIE-LABlab(40.04, 58.52, -54.52)
CIE-LCHlch(40.04, 79.98, 317.03°)
OKLaboklab(50.91% 0.1355 -0.1542)
OKLCHoklch(50.91% 0.205 311.3)
XYZxyz(20.5434, 11.2735, 46.9833)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B32B9 #60B932
analogous
#4832B9 #8B32B9 #B932A3
triadic
#8B32B9 #B98B32 #32B98B
tetradic
#8B32B9 #B94832 #60B932 #32A3B9
square
#8B32B9 #B94832 #60B932 #32A3B9
split-complementary
#8B32B9 #A3B932 #32B948
monochromatic
#431859 #672589 #8B32B9 #A857D2 #C187DF

Accessibility & contrast

On white

6.45
#8B32B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8B32B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B32B9
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B32B9#FFFFFF#000000##FFFFFF
##8B32B91.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#1C60B6
Tritanopia (blue-blind)
#855073
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8b32b9;
/* rgb */ color: rgb(139, 50, 185);
/* oklch */ color: oklch(50.9% 0.205 311.3);
Tailwind
colors: {
  custom: {
    50: '#b172cf',
    500: '#8b32b9',
    950: '#000000',
  },
}
SCSS
$custom: #8b32b9;
$custom-light: #b172cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b32b9",
  "rgb": {
    "r": 139,
    "g": 50,
    "b": 185
  },
  "hsl": {
    "h": 279.556,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50911,
    "c": 0.20533,
    "h": 311.3
  },
  "luminance": 0.11273
}

Semantic roles & 50–950 ramp

primary
#8B32B9
secondary
#98C87F
accent
#E1477B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B32B9

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

Preview Lab → · Contrast checker → · Palette generator →

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