#8D34A4#8D34A4

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

Color values

HEX#8D34A4
RGBrgb(141, 52, 164)
HSLhsl(288, 52%, 42%)
HSVhsv(288, 68%, 64%)
CMYKcmyk(14%, 68.3%, 0%, 35.7%)
CIE-LABlab(39.24, 53.79, -43.31)
CIE-LCHlch(39.24, 69.06, 321.16°)
OKLaboklab(49.96% 0.138 -0.1213)
OKLCHoklch(49.96% 0.184 318.7)
XYZxyz(18.9124, 10.7999, 36.2031)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34A4 #4BA434
analogous
#5534A4 #8D34A4 #A43483
triadic
#8D34A4 #A48D34 #34A48D
tetradic
#8D34A4 #A45534 #4BA434 #3483A4
square
#8D34A4 #A45534 #4BA434 #3483A4
split-complementary
#8D34A4 #83A434 #34A455
monochromatic
#3D1747 #652576 #8D34A4 #AE4EC7 #C37DD6

Accessibility & contrast

On white

6.65
#8D34A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8D34A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D34A4
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34A4#FFFFFF#000000##FFFFFF
##8D34A41.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0257A7
Deuteranopia (green-blind)
#3A5FA1
Tritanopia (blue-blind)
#8D4968
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d34a4;
/* rgb */ color: rgb(141, 52, 164);
/* oklch */ color: oklch(50.0% 0.184 318.7);
Tailwind
colors: {
  custom: {
    50: '#b273bf',
    500: '#8d34a4',
    950: '#000000',
  },
}
SCSS
$custom: #8d34a4;
$custom-light: #b273bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34a4",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 164
  },
  "hsl": {
    "h": 287.679,
    "s": 51.852,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49963,
    "c": 0.18374,
    "h": 318.7
  },
  "luminance": 0.10799
}

Semantic roles & 50–950 ramp

primary
#8D34A4
secondary
#84BF75
accent
#DB4C6A
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D34A4

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

Preview Lab → · Contrast checker → · Palette generator →

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