#8C32CE#8C32CE

#8C32CE is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.6% C 0.226 H 306.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8C32CE
RGBrgb(140, 50, 206)
HSLhsl(275, 61%, 50%)
HSVhsv(275, 76%, 81%)
CMYKcmyk(32%, 75.7%, 0%, 19.2%)
CIE-LABlab(41.71, 63.25, -64.05)
CIE-LCHlch(41.71, 90.02, 314.64°)
OKLaboklab(52.6% 0.133 -0.1822)
OKLCHoklch(52.6% 0.226 306.1)
XYZxyz(23.0939, 12.3131, 59.5406)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C32CE #74CE32
analogous
#3E32CE #8C32CE #CE32C2
triadic
#8C32CE #CE8C32 #32CE8C
tetradic
#8C32CE #CE3E32 #74CE32 #32C2CE
square
#8C32CE #CE3E32 #74CE32 #32C2CE
split-complementary
#8C32CE #C2CE32 #32CE3E
monochromatic
#491A6C #6B269D #8C32CE #A863DA #C395E6

Accessibility & contrast

On white

6.06
#8C32CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8C32CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C32CE
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C32CE#FFFFFF#000000##FFFFFF
##8C32CE1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#80597F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8c32ce;
/* rgb */ color: rgb(140, 50, 206);
/* oklch */ color: oklch(52.6% 0.226 306.1);
Tailwind
colors: {
  custom: {
    50: '#b373de',
    500: '#8c32ce',
    950: '#000000',
  },
}
SCSS
$custom: #8c32ce;
$custom-light: #b373de;
$custom-dark: #000000;
JSON
{
  "hex": "#8c32ce",
  "rgb": {
    "r": 140,
    "g": 50,
    "b": 206
  },
  "hsl": {
    "h": 274.615,
    "s": 61.417,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52603,
    "c": 0.22561,
    "h": 306.1
  },
  "luminance": 0.12313
}

Semantic roles & 50–950 ramp

primary
#8C32CE
secondary
#A9D18B
accent
#E54387
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C32CE

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

Preview Lab → · Contrast checker → · Palette generator →

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