#8D32C5#8D32C5

#8D32C5 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.0% C 0.217 H 308.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8D32C5
RGBrgb(141, 50, 197)
HSLhsl(277, 60%, 48%)
HSVhsv(277, 75%, 77%)
CMYKcmyk(28.4%, 74.6%, 0%, 22.7%)
CIE-LABlab(41.18, 61.47, -59.68)
CIE-LCHlch(41.18, 85.68, 315.85°)
OKLaboklab(52.05% 0.1362 -0.1693)
OKLCHoklch(52.05% 0.217 308.8)
XYZxyz(22.2011, 11.9755, 53.9545)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D32C5 #6AC532
analogous
#4332C5 #8D32C5 #C532B3
triadic
#8D32C5 #C58D32 #32C58D
tetradic
#8D32C5 #C54332 #6AC532 #32B3C5
square
#8D32C5 #C54332 #6AC532 #32B3C5
split-complementary
#8D32C5 #B3C532 #32C543
monochromatic
#471963 #6A2694 #8D32C5 #A85ED6 #C38FE3

Accessibility & contrast

On white

6.19
#8D32C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8D32C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D32C5
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D32C5#FFFFFF#000000##FFFFFF
##8D32C51.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#84557A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d32c5;
/* rgb */ color: rgb(141, 50, 197);
/* oklch */ color: oklch(52.0% 0.217 308.8);
Tailwind
colors: {
  custom: {
    50: '#b373d7',
    500: '#8d32c5',
    950: '#000000',
  },
}
SCSS
$custom: #8d32c5;
$custom-light: #b373d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d32c5",
  "rgb": {
    "r": 141,
    "g": 50,
    "b": 197
  },
  "hsl": {
    "h": 277.143,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52047,
    "c": 0.21731,
    "h": 308.8
  },
  "luminance": 0.11975
}

Semantic roles & 50–950 ramp

primary
#8D32C5
secondary
#A1CD86
accent
#E34581
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8D32C5

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

Preview Lab → · Contrast checker → · Palette generator →

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