#8D34B5#8D34B5

#8D34B5 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.200 H 313.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8D34B5
RGBrgb(141, 52, 181)
HSLhsl(281, 55%, 46%)
HSVhsv(281, 71%, 71%)
CMYKcmyk(22.1%, 71.3%, 0%, 29%)
CIE-LABlab(40.34, 57.27, -51.66)
CIE-LCHlch(40.34, 77.13, 317.95°)
OKLaboklab(51.1% 0.1367 -0.1458)
OKLCHoklch(51.1% 0.2 313.1)
XYZxyz(20.5515, 11.4555, 44.8356)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34B5 #5CB534
analogous
#4C34B5 #8D34B5 #B5349C
triadic
#8D34B5 #B58D34 #34B58D
tetradic
#8D34B5 #B54C34 #5CB534 #349CB5
square
#8D34B5 #B54C34 #5CB534 #349CB5
split-complementary
#8D34B5 #9CB534 #34B54C
monochromatic
#431956 #682685 #8D34B5 #AA57CF #C287DC

Accessibility & contrast

On white

6.38
#8D34B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8D34B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D34B5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34B5#FFFFFF#000000##FFFFFF
##8D34B51.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#2961B2
Tritanopia (blue-blind)
#895071
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d34b5;
/* rgb */ color: rgb(141, 52, 181);
/* oklch */ color: oklch(51.1% 0.200 313.1);
Tailwind
colors: {
  custom: {
    50: '#b273cc',
    500: '#8d34b5',
    950: '#000000',
  },
}
SCSS
$custom: #8d34b5;
$custom-light: #b273cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34b5",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 281.395,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51097,
    "c": 0.19983,
    "h": 313.1
  },
  "luminance": 0.11455
}

Semantic roles & 50–950 ramp

primary
#8D34B5
secondary
#95C67F
accent
#DF4977
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8D34B5

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

Preview Lab → · Contrast checker → · Palette generator →

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