#8C32C2#8C32C2

#8C32C2 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.7% C 0.214 H 309.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8C32C2
RGBrgb(140, 50, 194)
HSLhsl(278, 59%, 48%)
HSVhsv(278, 74%, 76%)
CMYKcmyk(27.8%, 74.2%, 0%, 23.9%)
CIE-LABlab(40.82, 60.64, -58.52)
CIE-LCHlch(40.82, 84.27, 316.02°)
OKLaboklab(51.7% 0.1354 -0.166)
OKLCHoklch(51.7% 0.214 309.2)
XYZxyz(21.6915, 11.7521, 52.1542)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C32C2 #68C232
analogous
#4432C2 #8C32C2 #C232B0
triadic
#8C32C2 #C28C32 #32C28C
tetradic
#8C32C2 #C24432 #68C232 #32B0C2
square
#8C32C2 #C24432 #68C232 #32B0C2
split-complementary
#8C32C2 #B0C232 #32C244
monochromatic
#461961 #692591 #8C32C2 #A85CD5 #C28DE2

Accessibility & contrast

On white

6.27
#8C32C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8C32C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C32C2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C32C2#FFFFFF#000000##FFFFFF
##8C32C21.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0361BF
Tritanopia (blue-blind)
#845478
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8c32c2;
/* rgb */ color: rgb(140, 50, 194);
/* oklch */ color: oklch(51.7% 0.214 309.2);
Tailwind
colors: {
  custom: {
    50: '#b373d5',
    500: '#8c32c2',
    950: '#000000',
  },
}
SCSS
$custom: #8c32c2;
$custom-light: #b373d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8c32c2",
  "rgb": {
    "r": 140,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 277.5,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51697,
    "c": 0.21419,
    "h": 309.2
  },
  "luminance": 0.11752
}

Semantic roles & 50–950 ramp

primary
#8C32C2
secondary
#9FCC84
accent
#E24680
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8C32C2

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

Preview Lab → · Contrast checker → · Palette generator →

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