#8C32CB#8C32CB

#8C32CB is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.4% C 0.223 H 306.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8C32CB
RGBrgb(140, 50, 203)
HSLhsl(275, 60%, 50%)
HSVhsv(275, 75%, 80%)
CMYKcmyk(31%, 75.4%, 0%, 20.4%)
CIE-LABlab(41.48, 62.60, -62.68)
CIE-LCHlch(41.48, 88.58, 314.96°)
OKLaboklab(52.37% 0.1337 -0.1782)
OKLCHoklch(52.37% 0.223 306.9)
XYZxyz(22.7330, 12.1687, 57.6395)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C32CB #71CB32
analogous
#4032CB #8C32CB #CB32BE
triadic
#8C32CB #CB8C32 #32CB8C
tetradic
#8C32CB #CB4032 #71CB32 #32BECB
square
#8C32CB #CB4032 #71CB32 #32BECB
split-complementary
#8C32CB #BECB32 #32CB40
monochromatic
#481A69 #6A269A #8C32CB #A862D8 #C393E4

Accessibility & contrast

On white

6.12
#8C32CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8C32CB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C32CB#FFFFFF#000000##FFFFFF
##8C32CB1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c32cb;
/* rgb */ color: rgb(140, 50, 203);
/* oklch */ color: oklch(52.4% 0.223 306.9);
Tailwind
colors: {
  custom: {
    50: '#b373dc',
    500: '#8c32cb',
    950: '#000000',
  },
}
SCSS
$custom: #8c32cb;
$custom-light: #b373dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8c32cb",
  "rgb": {
    "r": 140,
    "g": 50,
    "b": 203
  },
  "hsl": {
    "h": 275.294,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52373,
    "c": 0.22275,
    "h": 306.9
  },
  "luminance": 0.12168
}

Semantic roles & 50–950 ramp

primary
#8C32CB
secondary
#A6CF89
accent
#E44486
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C32CB

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

Preview Lab → · Contrast checker → · Palette generator →

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