#8D34B8#8D34B8

#8D34B8 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.3% C 0.203 H 312.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8D34B8
RGBrgb(141, 52, 184)
HSLhsl(280, 56%, 46%)
HSVhsv(280, 72%, 72%)
CMYKcmyk(23.4%, 71.7%, 0%, 27.8%)
CIE-LABlab(40.54, 57.90, -53.10)
CIE-LCHlch(40.54, 78.56, 317.48°)
OKLaboklab(51.31% 0.1363 -0.15)
OKLCHoklch(51.31% 0.203 312.3)
XYZxyz(20.8627, 11.5800, 46.4743)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34B8 #5FB834
analogous
#4B34B8 #8D34B8 #B834A1
triadic
#8D34B8 #B88D34 #34B88D
tetradic
#8D34B8 #B84B34 #5FB834 #34A1B8
square
#8D34B8 #B84B34 #5FB834 #34A1B8
split-complementary
#8D34B8 #A1B834 #34B84B
monochromatic
#441959 #682788 #8D34B8 #A959D0 #C289DE

Accessibility & contrast

On white

6.33
#8D34B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D34B8
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34B8#FFFFFF#000000##FFFFFF
##8D34B81.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#2561B5
Tritanopia (blue-blind)
#885173
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d34b8;
/* rgb */ color: rgb(141, 52, 184);
/* oklch */ color: oklch(51.3% 0.203 312.3);
Tailwind
colors: {
  custom: {
    50: '#b373ce',
    500: '#8d34b8',
    950: '#000000',
  },
}
SCSS
$custom: #8d34b8;
$custom-light: #b373ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34b8",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 280.455,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51306,
    "c": 0.20269,
    "h": 312.3
  },
  "luminance": 0.11579
}

Semantic roles & 50–950 ramp

primary
#8D34B8
secondary
#97C880
accent
#DF497A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D34B8

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

Preview Lab → · Contrast checker → · Palette generator →

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