#8C32C8#8C32C8

#8C32C8 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.1% C 0.220 H 307.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8C32C8
RGBrgb(140, 50, 200)
HSLhsl(276, 60%, 49%)
HSVhsv(276, 75%, 78%)
CMYKcmyk(30%, 75%, 0%, 21.6%)
CIE-LABlab(41.26, 61.94, -61.30)
CIE-LCHlch(41.26, 87.15, 315.30°)
OKLaboklab(52.15% 0.1343 -0.1741)
OKLCHoklch(52.15% 0.22 307.6)
XYZxyz(22.3789, 12.0271, 55.7749)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C32C8 #6EC832
analogous
#4132C8 #8C32C8 #C832B9
triadic
#8C32C8 #C88C32 #32C88C
tetradic
#8C32C8 #C84132 #6EC832 #32B9C8
square
#8C32C8 #C84132 #6EC832 #32B9C8
split-complementary
#8C32C8 #B9C832 #32C841
monochromatic
#471A66 #6A2697 #8C32C8 #A860D7 #C291E3

Accessibility & contrast

On white

6.17
#8C32C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8C32C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C32C8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C32C8#FFFFFF#000000##FFFFFF
##8C32C81.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#82577B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8c32c8;
/* rgb */ color: rgb(140, 50, 200);
/* oklch */ color: oklch(52.1% 0.220 307.6);
Tailwind
colors: {
  custom: {
    50: '#b373da',
    500: '#8c32c8',
    950: '#000000',
  },
}
SCSS
$custom: #8c32c8;
$custom-light: #b373da;
$custom-dark: #000000;
JSON
{
  "hex": "#8c32c8",
  "rgb": {
    "r": 140,
    "g": 50,
    "b": 200
  },
  "hsl": {
    "h": 276,
    "s": 60,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52145,
    "c": 0.2199,
    "h": 307.6
  },
  "luminance": 0.12027
}

Semantic roles & 50–950 ramp

primary
#8C32C8
secondary
#A4CE88
accent
#E34584
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C32C8

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

Preview Lab → · Contrast checker → · Palette generator →

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