#8B34BD#8B34BD

#8B34BD is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.4% C 0.207 H 310.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8B34BD
RGBrgb(139, 52, 189)
HSLhsl(278, 57%, 47%)
HSVhsv(278, 72%, 74%)
CMYKcmyk(26.5%, 72.5%, 0%, 25.9%)
CIE-LABlab(40.60, 58.57, -55.95)
CIE-LCHlch(40.60, 81.00, 316.31°)
OKLaboklab(51.4% 0.133 -0.1585)
OKLCHoklch(51.4% 0.207 310)
XYZxyz(21.0590, 11.6195, 49.2677)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B34BD #66BD34
analogous
#4734BD #8B34BD #BD34AB
triadic
#8B34BD #BD8B34 #34BD8B
tetradic
#8B34BD #BD4734 #66BD34 #34ABBD
square
#8B34BD #BD4734 #66BD34 #34ABBD
split-complementary
#8B34BD #ABBD34 #34BD47
monochromatic
#441A5D #68278D #8B34BD #A75CD2 #C18CDF

Accessibility & contrast

On white

6.32
#8B34BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B34BD
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B34BD#FFFFFF#000000##FFFFFF
##8B34BD1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#1761BA
Tritanopia (blue-blind)
#845376
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b34bd;
/* rgb */ color: rgb(139, 52, 189);
/* oklch */ color: oklch(51.4% 0.207 310.0);
Tailwind
colors: {
  custom: {
    50: '#b173d2',
    500: '#8b34bd',
    950: '#000000',
  },
}
SCSS
$custom: #8b34bd;
$custom-light: #b173d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b34bd",
  "rgb": {
    "r": 139,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 278.102,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51403,
    "c": 0.20687,
    "h": 310
  },
  "luminance": 0.11619
}

Semantic roles & 50–950 ramp

primary
#8B34BD
secondary
#9DCA83
accent
#E0487F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B34BD

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

Preview Lab → · Contrast checker → · Palette generator →

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