#8D32C7#8D32C7

#8D32C7 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.2% C 0.219 H 308.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8D32C7
RGBrgb(141, 50, 199)
HSLhsl(277, 60%, 49%)
HSVhsv(277, 75%, 78%)
CMYKcmyk(29.1%, 74.9%, 0%, 22%)
CIE-LABlab(41.32, 61.91, -60.61)
CIE-LCHlch(41.32, 86.64, 315.61°)
OKLaboklab(52.2% 0.1358 -0.1721)
OKLCHoklch(52.2% 0.219 308.3)
XYZxyz(22.4318, 12.0678, 55.1694)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D32C7 #6CC732
analogous
#4332C7 #8D32C7 #C732B7
triadic
#8D32C7 #C78D32 #32C78D
tetradic
#8D32C7 #C74332 #6CC732 #32B7C7
square
#8D32C7 #C74332 #6CC732 #32B7C7
split-complementary
#8D32C7 #B7C732 #32C743
monochromatic
#481965 #6A2696 #8D32C7 #A85FD7 #C390E3

Accessibility & contrast

On white

6.15
#8D32C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D32C7
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D32C7#FFFFFF#000000##FFFFFF
##8D32C71.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#84567B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d32c7;
/* rgb */ color: rgb(141, 50, 199);
/* oklch */ color: oklch(52.2% 0.219 308.3);
Tailwind
colors: {
  custom: {
    50: '#b473d9',
    500: '#8d32c7',
    950: '#000000',
  },
}
SCSS
$custom: #8d32c7;
$custom-light: #b473d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d32c7",
  "rgb": {
    "r": 141,
    "g": 50,
    "b": 199
  },
  "hsl": {
    "h": 276.644,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52197,
    "c": 0.2192,
    "h": 308.3
  },
  "luminance": 0.12067
}

Semantic roles & 50–950 ramp

primary
#8D32C7
secondary
#A3CE87
accent
#E34582
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D32C7

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

Preview Lab → · Contrast checker → · Palette generator →

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