#8B34C0#8B34C0

#8B34C0 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.210 H 309.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8B34C0
RGBrgb(139, 52, 192)
HSLhsl(277, 57%, 48%)
HSVhsv(277, 73%, 75%)
CMYKcmyk(27.6%, 72.9%, 0%, 24.7%)
CIE-LABlab(40.82, 59.22, -57.36)
CIE-LCHlch(40.82, 82.44, 315.91°)
OKLaboklab(51.62% 0.1325 -0.1626)
OKLCHoklch(51.62% 0.21 309.2)
XYZxyz(21.3880, 11.7511, 51.0004)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B34C0 #69C034
analogous
#4534C0 #8B34C0 #C034AF
triadic
#8B34C0 #C08B34 #34C08B
tetradic
#8B34C0 #C04534 #69C034 #34AFC0
square
#8B34C0 #C04534 #69C034 #34AFC0
split-complementary
#8B34C0 #AFC034 #34C045
monochromatic
#451A60 #682790 #8B34C0 #A75ED3 #C18EE0

Accessibility & contrast

On white

6.27
#8B34C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8B34C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B34C0
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B34C0#FFFFFF#000000##FFFFFF
##8B34C01.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#0E61BD
Tritanopia (blue-blind)
#835477
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b34c0;
/* rgb */ color: rgb(139, 52, 192);
/* oklch */ color: oklch(51.6% 0.210 309.2);
Tailwind
colors: {
  custom: {
    50: '#b274d4',
    500: '#8b34c0',
    950: '#000000',
  },
}
SCSS
$custom: #8b34c0;
$custom-light: #b274d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b34c0",
  "rgb": {
    "r": 139,
    "g": 52,
    "b": 192
  },
  "hsl": {
    "h": 277.286,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51621,
    "c": 0.20976,
    "h": 309.2
  },
  "luminance": 0.11751
}

Semantic roles & 50–950 ramp

primary
#8B34C0
secondary
#9FCB85
accent
#E14781
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B34C0

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

Preview Lab → · Contrast checker → · Palette generator →

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