#8B32C2#8B32C2

#8B32C2 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.6% C 0.214 H 308.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8B32C2
RGBrgb(139, 50, 194)
HSLhsl(277, 59%, 48%)
HSVhsv(277, 74%, 76%)
CMYKcmyk(28.4%, 74.2%, 0%, 23.9%)
CIE-LABlab(40.68, 60.45, -58.75)
CIE-LCHlch(40.68, 84.30, 315.82°)
OKLaboklab(51.57% 0.1341 -0.1667)
OKLCHoklch(51.57% 0.214 308.8)
XYZxyz(21.5237, 11.6656, 52.1463)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B32C2 #69C232
analogous
#4332C2 #8B32C2 #C232B1
triadic
#8B32C2 #C28B32 #32C28B
tetradic
#8B32C2 #C24332 #69C232 #32B1C2
square
#8B32C2 #C24332 #69C232 #32B1C2
split-complementary
#8B32C2 #B1C232 #32C243
monochromatic
#451961 #682591 #8B32C2 #A75CD5 #C18DE2

Accessibility & contrast

On white

6.30
#8B32C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8B32C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B32C2
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B32C2#FFFFFF#000000##FFFFFF
##8B32C21.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#835478
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b32c2;
/* rgb */ color: rgb(139, 50, 194);
/* oklch */ color: oklch(51.6% 0.214 308.8);
Tailwind
colors: {
  custom: {
    50: '#b273d5',
    500: '#8b32c2',
    950: '#000000',
  },
}
SCSS
$custom: #8b32c2;
$custom-light: #b273d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b32c2",
  "rgb": {
    "r": 139,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 277.083,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51569,
    "c": 0.21391,
    "h": 308.8
  },
  "luminance": 0.11665
}

Semantic roles & 50–950 ramp

primary
#8B32C2
secondary
#9FCC84
accent
#E24681
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B32C2

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

Preview Lab → · Contrast checker → · Palette generator →

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