#8B32C3#8B32C3

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

Color values

HEX#8B32C3
RGBrgb(139, 50, 195)
HSLhsl(277, 59%, 48%)
HSVhsv(277, 74%, 76%)
CMYKcmyk(28.7%, 74.4%, 0%, 23.5%)
CIE-LABlab(40.75, 60.67, -59.22)
CIE-LCHlch(40.75, 84.78, 315.69°)
OKLaboklab(51.64% 0.1339 -0.1681)
OKLCHoklch(51.64% 0.215 308.5)
XYZxyz(21.6364, 11.7107, 52.7398)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B32C3 #6AC332
analogous
#4332C3 #8B32C3 #C332B2
triadic
#8B32C3 #C38B32 #32C38B
tetradic
#8B32C3 #C34332 #6AC332 #32B2C3
square
#8B32C3 #C34332 #6AC332 #32B2C3
split-complementary
#8B32C3 #B2C332 #32C343
monochromatic
#461962 #682692 #8B32C3 #A75DD5 #C18EE2

Accessibility & contrast

On white

6.28
#8B32C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8B32C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B32C3
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B32C3#FFFFFF#000000##FFFFFF
##8B32C31.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#825578
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b32c3;
/* rgb */ color: rgb(139, 50, 195);
/* oklch */ color: oklch(51.6% 0.215 308.5);
Tailwind
colors: {
  custom: {
    50: '#b273d6',
    500: '#8b32c3',
    950: '#000000',
  },
}
SCSS
$custom: #8b32c3;
$custom-light: #b273d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b32c3",
  "rgb": {
    "r": 139,
    "g": 50,
    "b": 195
  },
  "hsl": {
    "h": 276.828,
    "s": 59.184,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51643,
    "c": 0.21486,
    "h": 308.5
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#8B32C3
secondary
#A0CC85
accent
#E24582
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B32C3

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

Preview Lab → · Contrast checker → · Palette generator →

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