#8B32CC#8B32CC

#8B32CC is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.3% C 0.223 H 306.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8B32CC
RGBrgb(139, 50, 204)
HSLhsl(275, 61%, 50%)
HSVhsv(275, 75%, 80%)
CMYKcmyk(31.9%, 75.5%, 0%, 20%)
CIE-LABlab(41.42, 62.64, -63.37)
CIE-LCHlch(41.42, 89.10, 314.67°)
OKLaboklab(52.33% 0.1321 -0.1802)
OKLCHoklch(52.33% 0.223 306.2)
XYZxyz(22.6848, 12.1300, 58.2613)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B32CC #73CC32
analogous
#3E32CC #8B32CC #CC32C0
triadic
#8B32CC #CC8B32 #32CC8B
tetradic
#8B32CC #CC3E32 #73CC32 #32C0CC
square
#8B32CC #CC3E32 #73CC32 #32C0CC
split-complementary
#8B32CC #C0CC32 #32CC3E
monochromatic
#481A6A #6A269B #8B32CC #A763D9 #C394E5

Accessibility & contrast

On white

6.13
#8B32CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8B32CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B32CC
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B32CC#FFFFFF#000000##FFFFFF
##8B32CC1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#7F587D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b32cc;
/* rgb */ color: rgb(139, 50, 204);
/* oklch */ color: oklch(52.3% 0.223 306.2);
Tailwind
colors: {
  custom: {
    50: '#b373dd',
    500: '#8b32cc',
    950: '#000000',
  },
}
SCSS
$custom: #8b32cc;
$custom-light: #b373dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b32cc",
  "rgb": {
    "r": 139,
    "g": 50,
    "b": 204
  },
  "hsl": {
    "h": 274.675,
    "s": 60.63,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52325,
    "c": 0.22346,
    "h": 306.2
  },
  "luminance": 0.1213
}

Semantic roles & 50–950 ramp

primary
#8B32CC
secondary
#A7D08A
accent
#E44487
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B32CC

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

Preview Lab → · Contrast checker → · Palette generator →

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