#8B34CA#8B34CA

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

Color values

HEX#8B34CA
RGBrgb(139, 52, 202)
HSLhsl(275, 59%, 50%)
HSVhsv(275, 74%, 79%)
CMYKcmyk(31.2%, 74.3%, 0%, 20.8%)
CIE-LABlab(41.55, 61.41, -62.00)
CIE-LCHlch(41.55, 87.27, 314.72°)
OKLaboklab(52.37% 0.1307 -0.1762)
OKLCHoklch(52.37% 0.219 306.6)
XYZxyz(22.5338, 12.2095, 57.0352)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B34CA #73CA34
analogous
#4034CA #8B34CA #CA34BE
triadic
#8B34CA #CA8B34 #34CA8B
tetradic
#8B34CA #CA4034 #73CA34 #34BECA
square
#8B34CA #CA4034 #73CA34 #34BECA
split-complementary
#8B34CA #BECA34 #34CA40
monochromatic
#481B69 #6A2799 #8B34CA #A764D7 #C395E4

Accessibility & contrast

On white

6.10
#8B34CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8B34CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B34CA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B34CA#FFFFFF#000000##FFFFFF
##8B34CA1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#80597D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b34ca;
/* rgb */ color: rgb(139, 52, 202);
/* oklch */ color: oklch(52.4% 0.219 306.6);
Tailwind
colors: {
  custom: {
    50: '#b274db',
    500: '#8b34ca',
    950: '#000000',
  },
}
SCSS
$custom: #8b34ca;
$custom-light: #b274db;
$custom-dark: #000000;
JSON
{
  "hex": "#8b34ca",
  "rgb": {
    "r": 139,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 274.8,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52366,
    "c": 0.21944,
    "h": 306.6
  },
  "luminance": 0.12209
}

Semantic roles & 50–950 ramp

primary
#8B34CA
secondary
#A7CF8B
accent
#E24687
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B34CA

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

Preview Lab → · Contrast checker → · Palette generator →

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