#8B34C4#8B34C4

#8B34C4 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.9% C 0.214 H 308.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8B34C4
RGBrgb(139, 52, 196)
HSLhsl(276, 58%, 49%)
HSVhsv(276, 73%, 77%)
CMYKcmyk(29.1%, 73.5%, 0%, 23.1%)
CIE-LABlab(41.11, 60.09, -59.23)
CIE-LCHlch(41.11, 84.37, 315.41°)
OKLaboklab(51.92% 0.1318 -0.1681)
OKLCHoklch(51.92% 0.214 308.1)
XYZxyz(21.8372, 11.9308, 53.3663)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B34C4 #6DC434
analogous
#4334C4 #8B34C4 #C434B5
triadic
#8B34C4 #C48B34 #34C48B
tetradic
#8B34C4 #C44334 #6DC434 #34B5C4
square
#8B34C4 #C44334 #6DC434 #34B5C4
split-complementary
#8B34C4 #B5C434 #34C443
monochromatic
#461A63 #692794 #8B34C4 #A760D5 #C291E2

Accessibility & contrast

On white

6.20
#8B34C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B34C4
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B34C4#FFFFFF#000000##FFFFFF
##8B34C41.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#825679
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b34c4;
/* rgb */ color: rgb(139, 52, 196);
/* oklch */ color: oklch(51.9% 0.214 308.1);
Tailwind
colors: {
  custom: {
    50: '#b274d7',
    500: '#8b34c4',
    950: '#000000',
  },
}
SCSS
$custom: #8b34c4;
$custom-light: #b274d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b34c4",
  "rgb": {
    "r": 139,
    "g": 52,
    "b": 196
  },
  "hsl": {
    "h": 276.25,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51916,
    "c": 0.21363,
    "h": 308.1
  },
  "luminance": 0.1193
}

Semantic roles & 50–950 ramp

primary
#8B34C4
secondary
#A3CC87
accent
#E14784
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B34C4

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

Preview Lab → · Contrast checker → · Palette generator →

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