#8D34C9#8D34C9

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

Color values

HEX#8D34C9
RGBrgb(141, 52, 201)
HSLhsl(276, 59%, 50%)
HSVhsv(276, 74%, 79%)
CMYKcmyk(29.9%, 74.1%, 0%, 21.2%)
CIE-LABlab(41.75, 61.56, -61.09)
CIE-LCHlch(41.75, 86.72, 315.22°)
OKLaboklab(52.54% 0.1336 -0.1735)
OKLCHoklch(52.54% 0.219 307.6)
XYZxyz(22.7529, 12.3361, 56.4295)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34C9 #70C934
analogous
#4334C9 #8D34C9 #C934BB
triadic
#8D34C9 #C98D34 #34C98D
tetradic
#8D34C9 #C94334 #70C934 #34BBC9
square
#8D34C9 #C94334 #70C934 #34BBC9
split-complementary
#8D34C9 #BBC934 #34C943
monochromatic
#491B68 #6B2798 #8D34C9 #A863D7 #C394E3

Accessibility & contrast

On white

6.06
#8D34C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8D34C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D34C9
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34C9#FFFFFF#000000##FFFFFF
##8D34C91.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#83587C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d34c9;
/* rgb */ color: rgb(141, 52, 201);
/* oklch */ color: oklch(52.5% 0.219 307.6);
Tailwind
colors: {
  custom: {
    50: '#b474da',
    500: '#8d34c9',
    950: '#000000',
  },
}
SCSS
$custom: #8d34c9;
$custom-light: #b474da;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34c9",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 201
  },
  "hsl": {
    "h": 275.839,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5254,
    "c": 0.21897,
    "h": 307.6
  },
  "luminance": 0.12336
}

Semantic roles & 50–950 ramp

primary
#8D34C9
secondary
#A6CE8A
accent
#E24685
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D34C9

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

Preview Lab → · Contrast checker → · Palette generator →

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