#8B34BC#8B34BC

#8B34BC is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.3% C 0.206 H 310.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8B34BC
RGBrgb(139, 52, 188)
HSLhsl(278, 57%, 47%)
HSVhsv(278, 72%, 74%)
CMYKcmyk(26.1%, 72.3%, 0%, 26.3%)
CIE-LABlab(40.53, 58.35, -55.48)
CIE-LCHlch(40.53, 80.51, 316.45°)
OKLaboklab(51.33% 0.1331 -0.1571)
OKLCHoklch(51.33% 0.206 310.3)
XYZxyz(20.9508, 11.5763, 48.6980)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B34BC #65BC34
analogous
#4734BC #8B34BC #BC34A9
triadic
#8B34BC #BC8B34 #34BC8B
tetradic
#8B34BC #BC4734 #65BC34 #34A9BC
square
#8B34BC #BC4734 #65BC34 #34A9BC
split-complementary
#8B34BC #A9BC34 #34BC47
monochromatic
#44195C #68278C #8B34BC #A75BD2 #C18BDF

Accessibility & contrast

On white

6.33
#8B34BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8B34BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B34BC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B34BC#FFFFFF#000000##FFFFFF
##8B34BC1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#1961B9
Tritanopia (blue-blind)
#845375
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b34bc;
/* rgb */ color: rgb(139, 52, 188);
/* oklch */ color: oklch(51.3% 0.206 310.3);
Tailwind
colors: {
  custom: {
    50: '#b173d1',
    500: '#8b34bc',
    950: '#000000',
  },
}
SCSS
$custom: #8b34bc;
$custom-light: #b173d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b34bc",
  "rgb": {
    "r": 139,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 278.382,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51331,
    "c": 0.2059,
    "h": 310.3
  },
  "luminance": 0.11576
}

Semantic roles & 50–950 ramp

primary
#8B34BC
secondary
#9CC983
accent
#E0487F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B34BC

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

Preview Lab → · Contrast checker → · Palette generator →

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