#8D34C1#8D34C1

#8D34C1 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.211 H 309.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8D34C1
RGBrgb(141, 52, 193)
HSLhsl(278, 58%, 48%)
HSVhsv(278, 73%, 76%)
CMYKcmyk(26.9%, 73.1%, 0%, 24.3%)
CIE-LABlab(41.17, 59.82, -57.37)
CIE-LCHlch(41.17, 82.88, 316.20°)
OKLaboklab(51.95% 0.135 -0.1625)
OKLCHoklch(51.95% 0.211 309.7)
XYZxyz(21.8362, 11.9694, 51.6017)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34C1 #68C134
analogous
#4634C1 #8D34C1 #C134AE
triadic
#8D34C1 #C18D34 #34C18D
tetradic
#8D34C1 #C14634 #68C134 #34AEC1
square
#8D34C1 #C14634 #68C134 #34AEC1
split-complementary
#8D34C1 #AEC134 #34C146
monochromatic
#471A61 #6A2791 #8D34C1 #A85ED4 #C28FE1

Accessibility & contrast

On white

6.19
#8D34C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8D34C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D34C1
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34C1#FFFFFF#000000##FFFFFF
##8D34C11.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#1162BE
Tritanopia (blue-blind)
#855578
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d34c1;
/* rgb */ color: rgb(141, 52, 193);
/* oklch */ color: oklch(51.9% 0.211 309.7);
Tailwind
colors: {
  custom: {
    50: '#b374d5',
    500: '#8d34c1',
    950: '#000000',
  },
}
SCSS
$custom: #8d34c1;
$custom-light: #b374d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34c1",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 277.872,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5195,
    "c": 0.21129,
    "h": 309.7
  },
  "luminance": 0.11969
}

Semantic roles & 50–950 ramp

primary
#8D34C1
secondary
#9FCB86
accent
#E14780
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8D34C1

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

Preview Lab → · Contrast checker → · Palette generator →

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