#8D34C8#8D34C8

#8D34C8 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.5% C 0.218 H 307.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8D34C8
RGBrgb(141, 52, 200)
HSLhsl(276, 59%, 49%)
HSVhsv(276, 74%, 78%)
CMYKcmyk(29.5%, 74%, 0%, 21.6%)
CIE-LABlab(41.67, 61.34, -60.63)
CIE-LCHlch(41.67, 86.24, 315.33°)
OKLaboklab(52.47% 0.1338 -0.1721)
OKLCHoklch(52.47% 0.218 307.9)
XYZxyz(22.6356, 12.2892, 55.8120)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34C8 #6FC834
analogous
#4334C8 #8D34C8 #C834B9
triadic
#8D34C8 #C88D34 #34C88D
tetradic
#8D34C8 #C84334 #6FC834 #34B9C8
square
#8D34C8 #C84334 #6FC834 #34B9C8
split-complementary
#8D34C8 #B9C834 #34C843
monochromatic
#491B67 #6B2797 #8D34C8 #A863D6 #C393E3

Accessibility & contrast

On white

6.07
#8D34C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8D34C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D34C8
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34C8#FFFFFF#000000##FFFFFF
##8D34C81.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#83577C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d34c8;
/* rgb */ color: rgb(141, 52, 200);
/* oklch */ color: oklch(52.5% 0.218 307.9);
Tailwind
colors: {
  custom: {
    50: '#b474da',
    500: '#8d34c8',
    950: '#000000',
  },
}
SCSS
$custom: #8d34c8;
$custom-light: #b474da;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34c8",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 200
  },
  "hsl": {
    "h": 276.081,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52465,
    "c": 0.21802,
    "h": 307.9
  },
  "luminance": 0.12289
}

Semantic roles & 50–950 ramp

primary
#8D34C8
secondary
#A5CE8A
accent
#E24684
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D34C8

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

Preview Lab → · Contrast checker → · Palette generator →

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