#8D34C3#8D34C3

#8D34C3 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.213 H 309.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8D34C3
RGBrgb(141, 52, 195)
HSLhsl(277, 58%, 48%)
HSVhsv(277, 73%, 76%)
CMYKcmyk(27.7%, 73.3%, 0%, 23.5%)
CIE-LABlab(41.31, 60.25, -58.30)
CIE-LCHlch(41.31, 83.84, 315.94°)
OKLaboklab(52.1% 0.1347 -0.1653)
OKLCHoklch(52.1% 0.213 309.2)
XYZxyz(22.0608, 12.0592, 52.7847)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34C3 #6AC334
analogous
#4634C3 #8D34C3 #C334B1
triadic
#8D34C3 #C38D34 #34C38D
tetradic
#8D34C3 #C34634 #6AC334 #34B1C3
square
#8D34C3 #C34634 #6AC334 #34B1C3
split-complementary
#8D34C3 #B1C334 #34C346
monochromatic
#471A62 #6A2793 #8D34C3 #A860D5 #C390E1

Accessibility & contrast

On white

6.16
#8D34C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8D34C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D34C3
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34C3#FFFFFF#000000##FFFFFF
##8D34C31.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#0A63C0
Tritanopia (blue-blind)
#855579
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d34c3;
/* rgb */ color: rgb(141, 52, 195);
/* oklch */ color: oklch(52.1% 0.213 309.2);
Tailwind
colors: {
  custom: {
    50: '#b374d6',
    500: '#8d34c3',
    950: '#000000',
  },
}
SCSS
$custom: #8d34c3;
$custom-light: #b374d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34c3",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 195
  },
  "hsl": {
    "h": 277.343,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52096,
    "c": 0.21322,
    "h": 309.2
  },
  "luminance": 0.12059
}

Semantic roles & 50–950 ramp

primary
#8D34C3
secondary
#A1CC87
accent
#E14781
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8D34C3

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

Preview Lab → · Contrast checker → · Palette generator →

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