#8D34A5#8D34A5

#8D34A5 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.0% C 0.185 H 318.3°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8D34A5
RGBrgb(141, 52, 165)
HSLhsl(287, 52%, 43%)
HSVhsv(287, 68%, 65%)
CMYKcmyk(14.5%, 68.5%, 0%, 35.3%)
CIE-LABlab(39.30, 53.99, -43.81)
CIE-LCHlch(39.30, 69.53, 320.94°)
OKLaboklab(50.03% 0.138 -0.1228)
OKLCHoklch(50.03% 0.185 318.3)
XYZxyz(19.0031, 10.8362, 36.6806)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34A5 #4CA534
analogous
#5534A5 #8D34A5 #A53484
triadic
#8D34A5 #A58D34 #34A58D
tetradic
#8D34A5 #A55534 #4CA534 #3484A5
square
#8D34A5 #A55534 #4CA534 #3484A5
split-complementary
#8D34A5 #84A534 #34A555
monochromatic
#3D1748 #652576 #8D34A5 #AE4FC7 #C37DD6

Accessibility & contrast

On white

6.63
#8D34A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8D34A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D34A5
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34A5#FFFFFF#000000##FFFFFF
##8D34A51.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A8
Deuteranopia (green-blind)
#3A5FA2
Tritanopia (blue-blind)
#8D4968
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d34a5;
/* rgb */ color: rgb(141, 52, 165);
/* oklch */ color: oklch(50.0% 0.185 318.3);
Tailwind
colors: {
  custom: {
    50: '#b273c0',
    500: '#8d34a5',
    950: '#000000',
  },
}
SCSS
$custom: #8d34a5;
$custom-light: #b273c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34a5",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 287.257,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50027,
    "c": 0.18468,
    "h": 318.3
  },
  "luminance": 0.10835
}

Semantic roles & 50–950 ramp

primary
#8D34A5
secondary
#85BF76
accent
#DC4C6B
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D34A5

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

Preview Lab → · Contrast checker → · Palette generator →

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