#8D34C7#8D34C7

#8D34C7 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.4% C 0.217 H 308.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8D34C7
RGBrgb(141, 52, 199)
HSLhsl(276, 59%, 49%)
HSVhsv(276, 74%, 78%)
CMYKcmyk(29.1%, 73.9%, 0%, 22%)
CIE-LABlab(41.60, 61.12, -60.16)
CIE-LCHlch(41.60, 85.76, 315.45°)
OKLaboklab(52.39% 0.134 -0.1708)
OKLCHoklch(52.39% 0.217 308.1)
XYZxyz(22.5192, 12.2426, 55.1985)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34C7 #6EC734
analogous
#4434C7 #8D34C7 #C734B8
triadic
#8D34C7 #C78D34 #34C78D
tetradic
#8D34C7 #C74434 #6EC734 #34B8C7
square
#8D34C7 #C74434 #6EC734 #34B8C7
split-complementary
#8D34C7 #B8C734 #34C744
monochromatic
#481B66 #6B2796 #8D34C7 #A862D6 #C393E3

Accessibility & contrast

On white

6.09
#8D34C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8D34C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D34C7
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34C7#FFFFFF#000000##FFFFFF
##8D34C71.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#84577B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d34c7;
/* rgb */ color: rgb(141, 52, 199);
/* oklch */ color: oklch(52.4% 0.217 308.1);
Tailwind
colors: {
  custom: {
    50: '#b374d9',
    500: '#8d34c7',
    950: '#000000',
  },
}
SCSS
$custom: #8d34c7;
$custom-light: #b374d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34c7",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 199
  },
  "hsl": {
    "h": 276.327,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52391,
    "c": 0.21706,
    "h": 308.1
  },
  "luminance": 0.12242
}

Semantic roles & 50–950 ramp

primary
#8D34C7
secondary
#A4CE89
accent
#E24683
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D34C7

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

Preview Lab → · Contrast checker → · Palette generator →

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