#8D34A9#8D34A9

#8D34A9 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.3% C 0.188 H 317.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8D34A9
RGBrgb(141, 52, 169)
HSLhsl(286, 53%, 43%)
HSVhsv(286, 69%, 66%)
CMYKcmyk(16.6%, 69.2%, 0%, 33.7%)
CIE-LABlab(39.55, 54.80, -45.80)
CIE-LCHlch(39.55, 71.42, 320.11°)
OKLaboklab(50.29% 0.1377 -0.1286)
OKLCHoklch(50.29% 0.188 317)
XYZxyz(19.3729, 10.9841, 38.6281)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34A9 #50A934
analogous
#5234A9 #8D34A9 #A9348A
triadic
#8D34A9 #A98D34 #34A98D
tetradic
#8D34A9 #A95234 #50A934 #348AA9
square
#8D34A9 #A95234 #50A934 #348AA9
split-complementary
#8D34A9 #8AA934 #34A952
monochromatic
#3F174B #66267A #8D34A9 #AD51C9 #C380D8

Accessibility & contrast

On white

6.57
#8D34A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8D34A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D34A9
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34A9#FFFFFF#000000##FFFFFF
##8D34A91.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#3660A6
Tritanopia (blue-blind)
#8C4B6B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d34a9;
/* rgb */ color: rgb(141, 52, 169);
/* oklch */ color: oklch(50.3% 0.188 317.0);
Tailwind
colors: {
  custom: {
    50: '#b273c3',
    500: '#8d34a9',
    950: '#000000',
  },
}
SCSS
$custom: #8d34a9;
$custom-light: #b273c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34a9",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 169
  },
  "hsl": {
    "h": 285.641,
    "s": 52.941,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50287,
    "c": 0.18844,
    "h": 317
  },
  "luminance": 0.10983
}

Semantic roles & 50–950 ramp

primary
#8D34A9
secondary
#89C178
accent
#DC4B6E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8D34A9

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

Preview Lab → · Contrast checker → · Palette generator →

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