#8D34B9#8D34B9

#8D34B9 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.4% C 0.204 H 312.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8D34B9
RGBrgb(141, 52, 185)
HSLhsl(280, 56%, 46%)
HSVhsv(280, 72%, 73%)
CMYKcmyk(23.8%, 71.9%, 0%, 27.5%)
CIE-LABlab(40.61, 58.11, -53.58)
CIE-LCHlch(40.61, 79.04, 317.32°)
OKLaboklab(51.38% 0.1362 -0.1514)
OKLCHoklch(51.38% 0.204 312)
XYZxyz(20.9678, 11.6221, 47.0283)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34B9 #60B934
analogous
#4A34B9 #8D34B9 #B934A3
triadic
#8D34B9 #B98D34 #34B98D
tetradic
#8D34B9 #B94A34 #60B934 #34A3B9
square
#8D34B9 #B94A34 #60B934 #34A3B9
split-complementary
#8D34B9 #A3B934 #34B94A
monochromatic
#441959 #692789 #8D34B9 #A95AD1 #C289DE

Accessibility & contrast

On white

6.32
#8D34B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8D34B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D34B9
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34B9#FFFFFF#000000##FFFFFF
##8D34B91.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#2361B6
Tritanopia (blue-blind)
#885173
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d34b9;
/* rgb */ color: rgb(141, 52, 185);
/* oklch */ color: oklch(51.4% 0.204 312.0);
Tailwind
colors: {
  custom: {
    50: '#b374cf',
    500: '#8d34b9',
    950: '#000000',
  },
}
SCSS
$custom: #8d34b9;
$custom-light: #b374cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34b9",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 185
  },
  "hsl": {
    "h": 280.15,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51377,
    "c": 0.20364,
    "h": 312
  },
  "luminance": 0.11621
}

Semantic roles & 50–950 ramp

primary
#8D34B9
secondary
#98C881
accent
#DF487A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D34B9

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

Preview Lab → · Contrast checker → · Palette generator →

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