#8D32A2#8D32A2

#8D32A2 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.6% C 0.184 H 319.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8D32A2
RGBrgb(141, 50, 162)
HSLhsl(289, 53%, 42%)
HSVhsv(289, 69%, 64%)
CMYKcmyk(13%, 69.1%, 0%, 36.5%)
CIE-LABlab(38.82, 54.24, -42.79)
CIE-LCHlch(38.82, 69.09, 321.73°)
OKLaboklab(49.62% 0.1403 -0.1198)
OKLCHoklch(49.62% 0.184 319.5)
XYZxyz(18.6459, 10.5534, 35.2303)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D32A2 #47A232
analogous
#5532A2 #8D32A2 #A2327F
triadic
#8D32A2 #A28D32 #32A28D
tetradic
#8D32A2 #A25532 #47A232 #327FA2
square
#8D32A2 #A25532 #47A232 #327FA2
split-complementary
#8D32A2 #7FA232 #32A255
monochromatic
#3C1544 #642473 #8D32A2 #B04AC7 #C479D6

Accessibility & contrast

On white

6.75
#8D32A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8D32A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D32A2
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D32A2#FFFFFF#000000##FFFFFF
##8D32A21.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#3A5F9F
Tritanopia (blue-blind)
#8D4766
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d32a2;
/* rgb */ color: rgb(141, 50, 162);
/* oklch */ color: oklch(49.6% 0.184 319.5);
Tailwind
colors: {
  custom: {
    50: '#b272be',
    500: '#8d32a2',
    950: '#000000',
  },
}
SCSS
$custom: #8d32a2;
$custom-light: #b272be;
$custom-dark: #000000;
JSON
{
  "hex": "#8d32a2",
  "rgb": {
    "r": 141,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 288.75,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4962,
    "c": 0.18448,
    "h": 319.5
  },
  "luminance": 0.10553
}

Semantic roles & 50–950 ramp

primary
#8D32A2
secondary
#80BE72
accent
#DC4C67
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D32A2

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

Preview Lab → · Contrast checker → · Palette generator →

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