#8B32CB#8B32CB

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

Color values

HEX#8B32CB
RGBrgb(139, 50, 203)
HSLhsl(275, 60%, 50%)
HSVhsv(275, 75%, 80%)
CMYKcmyk(31.5%, 75.4%, 0%, 20.4%)
CIE-LABlab(41.35, 62.42, -62.91)
CIE-LCHlch(41.35, 88.62, 314.78°)
OKLaboklab(52.25% 0.1323 -0.1789)
OKLCHoklch(52.25% 0.223 306.5)
XYZxyz(22.5652, 12.0822, 57.6317)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B32CB #72CB32
analogous
#3F32CB #8B32CB #CB32BF
triadic
#8B32CB #CB8B32 #32CB8B
tetradic
#8B32CB #CB3F32 #72CB32 #32BFCB
square
#8B32CB #CB3F32 #72CB32 #32BFCB
split-complementary
#8B32CB #BFCB32 #32CB3F
monochromatic
#481A69 #69269A #8B32CB #A762D8 #C293E4

Accessibility & contrast

On white

6.15
#8B32CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8B32CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B32CB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B32CB#FFFFFF#000000##FFFFFF
##8B32CB1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#80587D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b32cb;
/* rgb */ color: rgb(139, 50, 203);
/* oklch */ color: oklch(52.2% 0.223 306.5);
Tailwind
colors: {
  custom: {
    50: '#b273dc',
    500: '#8b32cb',
    950: '#000000',
  },
}
SCSS
$custom: #8b32cb;
$custom-light: #b273dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b32cb",
  "rgb": {
    "r": 139,
    "g": 50,
    "b": 203
  },
  "hsl": {
    "h": 274.902,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52248,
    "c": 0.22251,
    "h": 306.5
  },
  "luminance": 0.12082
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B32CB

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

Preview Lab → · Contrast checker → · Palette generator →

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