#8B32C0#8B32C0

#8B32C0 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.4% C 0.212 H 309.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8B32C0
RGBrgb(139, 50, 192)
HSLhsl(278, 59%, 47%)
HSVhsv(278, 74%, 75%)
CMYKcmyk(27.6%, 74%, 0%, 24.7%)
CIE-LABlab(40.53, 60.02, -57.82)
CIE-LCHlch(40.53, 83.34, 316.07°)
OKLaboklab(51.42% 0.1344 -0.1639)
OKLCHoklch(51.42% 0.212 309.3)
XYZxyz(21.3006, 11.5764, 50.9713)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B32C0 #67C032
analogous
#4432C0 #8B32C0 #C032AE
triadic
#8B32C0 #C08B32 #32C08B
tetradic
#8B32C0 #C04432 #67C032 #32AEC0
square
#8B32C0 #C04432 #67C032 #32AEC0
split-complementary
#8B32C0 #AEC032 #32C044
monochromatic
#45195F #68258F #8B32C0 #A75BD4 #C18BE1

Accessibility & contrast

On white

6.33
#8B32C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8B32C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B32C0
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B32C0#FFFFFF#000000##FFFFFF
##8B32C01.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#0761BD
Tritanopia (blue-blind)
#835377
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b32c0;
/* rgb */ color: rgb(139, 50, 192);
/* oklch */ color: oklch(51.4% 0.212 309.3);
Tailwind
colors: {
  custom: {
    50: '#b273d4',
    500: '#8b32c0',
    950: '#000000',
  },
}
SCSS
$custom: #8b32c0;
$custom-light: #b273d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b32c0",
  "rgb": {
    "r": 139,
    "g": 50,
    "b": 192
  },
  "hsl": {
    "h": 277.606,
    "s": 58.678,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51421,
    "c": 0.212,
    "h": 309.3
  },
  "luminance": 0.11576
}

Semantic roles & 50–950 ramp

primary
#8B32C0
secondary
#9ECB83
accent
#E24680
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B32C0

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

Preview Lab → · Contrast checker → · Palette generator →

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