#8C32D3#8C32D3

#8C32D3 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 53.0% C 0.230 H 304.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8C32D3
RGBrgb(140, 50, 211)
HSLhsl(274, 65%, 51%)
HSVhsv(274, 76%, 83%)
CMYKcmyk(33.6%, 76.3%, 0%, 17.3%)
CIE-LABlab(42.09, 64.36, -66.31)
CIE-LCHlch(42.09, 92.41, 314.14°)
OKLaboklab(52.99% 0.1319 -0.1889)
OKLCHoklch(52.99% 0.23 304.9)
XYZxyz(23.7110, 12.5599, 62.7906)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C32D3 #79D332
analogous
#3B32D3 #8C32D3 #D332CA
triadic
#8C32D3 #D38C32 #32D38C
tetradic
#8C32D3 #D33B32 #79D332 #32CAD3
square
#8C32D3 #D33B32 #79D332 #32CAD3
split-complementary
#8C32D3 #CAD332 #32D33B
monochromatic
#4B1872 #6C23A4 #8C32D3 #A864DE #C597E9

Accessibility & contrast

On white

5.98
#8C32D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8C32D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C32D3
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C32D3#FFFFFF#000000##FFFFFF
##8C32D31.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#0063D0
Tritanopia (blue-blind)
#7E5B81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8c32d3;
/* rgb */ color: rgb(140, 50, 211);
/* oklch */ color: oklch(53.0% 0.230 304.9);
Tailwind
colors: {
  custom: {
    50: '#b474e2',
    500: '#8c32d3',
    950: '#000000',
  },
}
SCSS
$custom: #8c32d3;
$custom-light: #b474e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c32d3",
  "rgb": {
    "r": 140,
    "g": 50,
    "b": 211
  },
  "hsl": {
    "h": 273.54,
    "s": 64.659,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52992,
    "c": 0.23037,
    "h": 304.9
  },
  "luminance": 0.1256
}

Semantic roles & 50–950 ramp

primary
#8C32D3
secondary
#ACD48D
accent
#E8408A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C32D3

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

Preview Lab → · Contrast checker → · Palette generator →

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