#8D34C2#8D34C2

#8D34C2 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.0% C 0.212 H 309.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8D34C2
RGBrgb(141, 52, 194)
HSLhsl(278, 58%, 48%)
HSVhsv(278, 73%, 76%)
CMYKcmyk(27.3%, 73.2%, 0%, 23.9%)
CIE-LABlab(41.24, 60.03, -57.83)
CIE-LCHlch(41.24, 83.36, 316.07°)
OKLaboklab(52.02% 0.1348 -0.1639)
OKLCHoklch(52.02% 0.212 309.4)
XYZxyz(21.9481, 12.0142, 52.1912)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34C2 #69C234
analogous
#4634C2 #8D34C2 #C234B0
triadic
#8D34C2 #C28D34 #34C28D
tetradic
#8D34C2 #C24634 #69C234 #34B0C2
square
#8D34C2 #C24634 #69C234 #34B0C2
split-complementary
#8D34C2 #B0C234 #34C246
monochromatic
#471A61 #6A2792 #8D34C2 #A85FD4 #C38FE1

Accessibility & contrast

On white

6.17
#8D34C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8D34C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D34C2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34C2#FFFFFF#000000##FFFFFF
##8D34C21.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0E62BF
Tritanopia (blue-blind)
#855578
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d34c2;
/* rgb */ color: rgb(141, 52, 194);
/* oklch */ color: oklch(52.0% 0.212 309.4);
Tailwind
colors: {
  custom: {
    50: '#b374d5',
    500: '#8d34c2',
    950: '#000000',
  },
}
SCSS
$custom: #8d34c2;
$custom-light: #b374d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34c2",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 277.606,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52022,
    "c": 0.21225,
    "h": 309.4
  },
  "luminance": 0.12014
}

Semantic roles & 50–950 ramp

primary
#8D34C2
secondary
#A0CC86
accent
#E14780
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8D34C2

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

Preview Lab → · Contrast checker → · Palette generator →

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