#8B32BB#8B32BB

#8B32BB is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.1% C 0.207 H 310.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8B32BB
RGBrgb(139, 50, 187)
HSLhsl(279, 58%, 46%)
HSVhsv(279, 73%, 73%)
CMYKcmyk(25.7%, 73.3%, 0%, 26.7%)
CIE-LABlab(40.18, 58.95, -55.47)
CIE-LCHlch(40.18, 80.94, 316.74°)
OKLaboklab(51.06% 0.1352 -0.157)
OKLCHoklch(51.06% 0.207 310.7)
XYZxyz(20.7560, 11.3585, 48.1031)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B32BB #62BB32
analogous
#4732BB #8B32BB #BB32A7
triadic
#8B32BB #BB8B32 #32BB8B
tetradic
#8B32BB #BB4732 #62BB32 #32A7BB
square
#8B32BB #BB4732 #62BB32 #32A7BB
split-complementary
#8B32BB #A7BB32 #32BB47
monochromatic
#43185A #67258B #8B32BB #A758D2 #C188DF

Accessibility & contrast

On white

6.42
#8B32BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8B32BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B32BB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B32BB#FFFFFF#000000##FFFFFF
##8B32BB1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#1860B8
Tritanopia (blue-blind)
#855174
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b32bb;
/* rgb */ color: rgb(139, 50, 187);
/* oklch */ color: oklch(51.1% 0.207 310.7);
Tailwind
colors: {
  custom: {
    50: '#b172d0',
    500: '#8b32bb',
    950: '#000000',
  },
}
SCSS
$custom: #8b32bb;
$custom-light: #b172d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b32bb",
  "rgb": {
    "r": 139,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 278.978,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51056,
    "c": 0.20723,
    "h": 310.7
  },
  "luminance": 0.11358
}

Semantic roles & 50–950 ramp

primary
#8B32BB
secondary
#99C980
accent
#E1477D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B32BB

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

Preview Lab → · Contrast checker → · Palette generator →

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