#8B32C8#8B32C8

#8B32C8 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.0% C 0.220 H 307.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8B32C8
RGBrgb(139, 50, 200)
HSLhsl(276, 60%, 49%)
HSVhsv(276, 75%, 78%)
CMYKcmyk(30.5%, 75%, 0%, 21.6%)
CIE-LABlab(41.12, 61.76, -61.53)
CIE-LCHlch(41.12, 87.18, 315.11°)
OKLaboklab(52.02% 0.1329 -0.1749)
OKLCHoklch(52.02% 0.22 307.2)
XYZxyz(22.2112, 11.9406, 55.7670)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B32C8 #6FC832
analogous
#4032C8 #8B32C8 #C832BA
triadic
#8B32C8 #C88B32 #32C88B
tetradic
#8B32C8 #C84032 #6FC832 #32BAC8
square
#8B32C8 #C84032 #6FC832 #32BAC8
split-complementary
#8B32C8 #BAC832 #32C840
monochromatic
#471A66 #692697 #8B32C8 #A760D7 #C291E3

Accessibility & contrast

On white

6.20
#8B32C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8B32C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B32C8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B32C8#FFFFFF#000000##FFFFFF
##8B32C81.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#81577B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b32c8;
/* rgb */ color: rgb(139, 50, 200);
/* oklch */ color: oklch(52.0% 0.220 307.2);
Tailwind
colors: {
  custom: {
    50: '#b273da',
    500: '#8b32c8',
    950: '#000000',
  },
}
SCSS
$custom: #8b32c8;
$custom-light: #b273da;
$custom-dark: #000000;
JSON
{
  "hex": "#8b32c8",
  "rgb": {
    "r": 139,
    "g": 50,
    "b": 200
  },
  "hsl": {
    "h": 275.6,
    "s": 60,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52019,
    "c": 0.21964,
    "h": 307.2
  },
  "luminance": 0.1194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B32C8

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

Preview Lab → · Contrast checker → · Palette generator →

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