#8B34BF#8B34BF

#8B34BF is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.5% C 0.209 H 309.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8B34BF
RGBrgb(139, 52, 191)
HSLhsl(278, 57%, 48%)
HSVhsv(278, 73%, 75%)
CMYKcmyk(27.2%, 72.8%, 0%, 25.1%)
CIE-LABlab(40.75, 59.00, -56.89)
CIE-LCHlch(40.75, 81.96, 316.04°)
OKLaboklab(51.55% 0.1327 -0.1612)
OKLCHoklch(51.55% 0.209 309.4)
XYZxyz(21.2775, 11.7070, 50.4189)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B34BF #68BF34
analogous
#4534BF #8B34BF #BF34AE
triadic
#8B34BF #BF8B34 #34BF8B
tetradic
#8B34BF #BF4534 #68BF34 #34AEBF
square
#8B34BF #BF4534 #68BF34 #34AEBF
split-complementary
#8B34BF #AEBF34 #34BF45
monochromatic
#451A5F #68278F #8B34BF #A75DD3 #C18DE0

Accessibility & contrast

On white

6.28
#8B34BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8B34BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B34BF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B34BF#FFFFFF#000000##FFFFFF
##8B34BF1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#1161BC
Tritanopia (blue-blind)
#835477
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b34bf;
/* rgb */ color: rgb(139, 52, 191);
/* oklch */ color: oklch(51.5% 0.209 309.4);
Tailwind
colors: {
  custom: {
    50: '#b274d3',
    500: '#8b34bf',
    950: '#000000',
  },
}
SCSS
$custom: #8b34bf;
$custom-light: #b274d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b34bf",
  "rgb": {
    "r": 139,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 277.554,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51548,
    "c": 0.2088,
    "h": 309.4
  },
  "luminance": 0.11707
}

Semantic roles & 50–950 ramp

primary
#8B34BF
secondary
#9FCA84
accent
#E04781
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B34BF

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

Preview Lab → · Contrast checker → · Palette generator →

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