#8B34B7#8B34B7

#8B34B7 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.201 H 311.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8B34B7
RGBrgb(139, 52, 183)
HSLhsl(280, 56%, 46%)
HSVhsv(280, 72%, 72%)
CMYKcmyk(24%, 71.6%, 0%, 28.2%)
CIE-LABlab(40.19, 57.28, -53.10)
CIE-LCHlch(40.19, 78.10, 317.17°)
OKLaboklab(50.97% 0.1338 -0.1501)
OKLCHoklch(50.97% 0.201 311.7)
XYZxyz(20.4211, 11.3644, 45.9084)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B34B7 #60B734
analogous
#4934B7 #8B34B7 #B734A1
triadic
#8B34B7 #B78B34 #34B78B
tetradic
#8B34B7 #B74934 #60B734 #34A1B7
square
#8B34B7 #B74934 #60B734 #34A1B7
split-complementary
#8B34B7 #A1B734 #34B749
monochromatic
#431958 #672687 #8B34B7 #A859D0 #C188DD

Accessibility & contrast

On white

6.42
#8B34B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8B34B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B34B7
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B34B7#FFFFFF#000000##FFFFFF
##8B34B71.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#2360B4
Tritanopia (blue-blind)
#865172
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b34b7;
/* rgb */ color: rgb(139, 52, 183);
/* oklch */ color: oklch(51.0% 0.201 311.7);
Tailwind
colors: {
  custom: {
    50: '#b173cd',
    500: '#8b34b7',
    950: '#000000',
  },
}
SCSS
$custom: #8b34b7;
$custom-light: #b173cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b34b7",
  "rgb": {
    "r": 139,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 279.847,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50974,
    "c": 0.20108,
    "h": 311.7
  },
  "luminance": 0.11364
}

Semantic roles & 50–950 ramp

primary
#8B34B7
secondary
#98C780
accent
#DF497B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B34B7

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

Preview Lab → · Contrast checker → · Palette generator →

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