#8D32C2#8D32C2

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

Color values

HEX#8D32C2
RGBrgb(141, 50, 194)
HSLhsl(278, 59%, 48%)
HSVhsv(278, 74%, 76%)
CMYKcmyk(27.3%, 74.2%, 0%, 23.9%)
CIE-LABlab(40.96, 60.83, -58.29)
CIE-LCHlch(40.96, 84.25, 316.22°)
OKLaboklab(51.83% 0.1367 -0.1652)
OKLCHoklch(51.83% 0.214 309.6)
XYZxyz(21.8608, 11.8394, 52.1621)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D32C2 #67C232
analogous
#4532C2 #8D32C2 #C232AF
triadic
#8D32C2 #C28D32 #32C28D
tetradic
#8D32C2 #C24532 #67C232 #32AFC2
square
#8D32C2 #C24532 #67C232 #32AFC2
split-complementary
#8D32C2 #AFC232 #32C245
monochromatic
#461961 #6A2591 #8D32C2 #A95CD5 #C28DE2

Accessibility & contrast

On white

6.24
#8D32C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8D32C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D32C2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D32C2#FFFFFF#000000##FFFFFF
##8D32C21.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0862BF
Tritanopia (blue-blind)
#855478
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d32c2;
/* rgb */ color: rgb(141, 50, 194);
/* oklch */ color: oklch(51.8% 0.214 309.6);
Tailwind
colors: {
  custom: {
    50: '#b373d5',
    500: '#8d32c2',
    950: '#000000',
  },
}
SCSS
$custom: #8d32c2;
$custom-light: #b373d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d32c2",
  "rgb": {
    "r": 141,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 277.917,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51825,
    "c": 0.21447,
    "h": 309.6
  },
  "luminance": 0.11839
}

Semantic roles & 50–950 ramp

primary
#8D32C2
secondary
#9ECC84
accent
#E2467F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8D32C2

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

Preview Lab → · Contrast checker → · Palette generator →

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