#8B4CB5#8B4CB5

#8B4CB5 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.8% C 0.166 H 309.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8B4CB5
RGBrgb(139, 76, 181)
HSLhsl(276, 42%, 50%)
HSVhsv(276, 58%, 71%)
CMYKcmyk(23.2%, 58%, 0%, 29%)
CIE-LABlab(44.22, 45.40, -45.44)
CIE-LCHlch(44.22, 64.23, 314.97°)
OKLaboklab(53.85% 0.1058 -0.1277)
OKLCHoklch(53.85% 0.166 309.6)
XYZxyz(21.5708, 13.9944, 45.2720)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CB5 #76B54C
analogous
#564CB5 #8B4CB5 #B54CAA
triadic
#8B4CB5 #B58B4C #4CB58B
tetradic
#8B4CB5 #B5564C #76B54C #4CAAB5
square
#8B4CB5 #B5564C #76B54C #4CAAB5
split-complementary
#8B4CB5 #AAB54C #4CB556
monochromatic
#49275F #6A398B #8B4CB5 #A777C7 #C3A3D9

Accessibility & contrast

On white

5.53
#8B4CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8B4CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4CB5
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4CB5#FFFFFF#000000##FFFFFF
##8B4CB51.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2766B8
Deuteranopia (green-blind)
#406AB2
Tritanopia (blue-blind)
#855F79
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8b4cb5;
/* rgb */ color: rgb(139, 76, 181);
/* oklch */ color: oklch(53.8% 0.166 309.6);
Tailwind
colors: {
  custom: {
    50: '#b081cc',
    500: '#8b4cb5',
    950: '#000000',
  },
}
SCSS
$custom: #8b4cb5;
$custom-light: #b081cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4cb5",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 276,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53848,
    "c": 0.16587,
    "h": 309.6
  },
  "luminance": 0.13994
}

Semantic roles & 50–950 ramp

primary
#8B4CB5
secondary
#AAC697
accent
#D15688
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A13
muted
#807C82

Preview Lab

Preview with #8B4CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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