#8B34C1#8B34C1

#8B34C1 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.7% C 0.211 H 308.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8B34C1
RGBrgb(139, 52, 193)
HSLhsl(277, 58%, 48%)
HSVhsv(277, 73%, 76%)
CMYKcmyk(28%, 73.1%, 0%, 24.3%)
CIE-LABlab(40.89, 59.43, -57.83)
CIE-LCHlch(40.89, 82.93, 315.78°)
OKLaboklab(51.69% 0.1323 -0.164)
OKLCHoklch(51.69% 0.211 308.9)
XYZxyz(21.4991, 11.7956, 51.5859)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B34C1 #6AC134
analogous
#4434C1 #8B34C1 #C134B0
triadic
#8B34C1 #C18B34 #34C18B
tetradic
#8B34C1 #C14434 #6AC134 #34B0C1
square
#8B34C1 #C14434 #6AC134 #34B0C1
split-complementary
#8B34C1 #B0C134 #34C144
monochromatic
#461A61 #682791 #8B34C1 #A75ED4 #C18FE1

Accessibility & contrast

On white

6.25
#8B34C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8B34C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B34C1
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B34C1#FFFFFF#000000##FFFFFF
##8B34C11.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#0961BE
Tritanopia (blue-blind)
#835578
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b34c1;
/* rgb */ color: rgb(139, 52, 193);
/* oklch */ color: oklch(51.7% 0.211 308.9);
Tailwind
colors: {
  custom: {
    50: '#b274d5',
    500: '#8b34c1',
    950: '#000000',
  },
}
SCSS
$custom: #8b34c1;
$custom-light: #b274d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b34c1",
  "rgb": {
    "r": 139,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 277.021,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51694,
    "c": 0.21072,
    "h": 308.9
  },
  "luminance": 0.11795
}

Semantic roles & 50–950 ramp

primary
#8B34C1
secondary
#A0CB86
accent
#E14782
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B34C1

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

Preview Lab → · Contrast checker → · Palette generator →

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