#8B32C7#8B32C7

#8B32C7 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.9% C 0.219 H 307.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8B32C7
RGBrgb(139, 50, 199)
HSLhsl(276, 60%, 49%)
HSVhsv(276, 75%, 78%)
CMYKcmyk(30.2%, 74.9%, 0%, 22%)
CIE-LABlab(41.05, 61.54, -61.07)
CIE-LCHlch(41.05, 86.70, 315.22°)
OKLaboklab(51.94% 0.1331 -0.1735)
OKLCHoklch(51.94% 0.219 307.5)
XYZxyz(22.0947, 11.8940, 55.1536)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B32C7 #6EC732
analogous
#4132C7 #8B32C7 #C732B9
triadic
#8B32C7 #C78B32 #32C78B
tetradic
#8B32C7 #C74132 #6EC732 #32B9C7
square
#8B32C7 #C74132 #6EC732 #32B9C7
split-complementary
#8B32C7 #B9C732 #32C741
monochromatic
#471965 #692696 #8B32C7 #A75FD7 #C290E3

Accessibility & contrast

On white

6.22
#8B32C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8B32C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B32C7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B32C7#FFFFFF#000000##FFFFFF
##8B32C71.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#81567B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b32c7;
/* rgb */ color: rgb(139, 50, 199);
/* oklch */ color: oklch(51.9% 0.219 307.5);
Tailwind
colors: {
  custom: {
    50: '#b273d9',
    500: '#8b32c7',
    950: '#000000',
  },
}
SCSS
$custom: #8b32c7;
$custom-light: #b273d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b32c7",
  "rgb": {
    "r": 139,
    "g": 50,
    "b": 199
  },
  "hsl": {
    "h": 275.839,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51944,
    "c": 0.21868,
    "h": 307.5
  },
  "luminance": 0.11894
}

Semantic roles & 50–950 ramp

primary
#8B32C7
secondary
#A4CE87
accent
#E34585
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B32C7

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

Preview Lab → · Contrast checker → · Palette generator →

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