#8B4BB5#8B4BB5

#8B4BB5 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.167 H 309.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8B4BB5
RGBrgb(139, 75, 181)
HSLhsl(276, 42%, 50%)
HSVhsv(276, 59%, 71%)
CMYKcmyk(23.2%, 58.6%, 0%, 29%)
CIE-LABlab(44.03, 45.92, -45.75)
CIE-LCHlch(44.03, 64.82, 315.10°)
OKLaboklab(53.7% 0.1071 -0.1287)
OKLCHoklch(53.7% 0.167 309.8)
XYZxyz(21.5024, 13.8577, 45.2492)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4BB5 #75B54B
analogous
#564BB5 #8B4BB5 #B54BAA
triadic
#8B4BB5 #B58B4B #4BB58B
tetradic
#8B4BB5 #B5564B #75B54B #4BAAB5
square
#8B4BB5 #B5564B #75B54B #4BAAB5
split-complementary
#8B4BB5 #AAB54B #4BB556
monochromatic
#49275F #6A398A #8B4BB5 #A776C7 #C3A2D9

Accessibility & contrast

On white

5.57
#8B4BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8B4BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4BB5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4BB5#FFFFFF#000000##FFFFFF
##8B4BB51.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2565B8
Deuteranopia (green-blind)
#3F69B2
Tritanopia (blue-blind)
#855F79
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b4bb5;
/* rgb */ color: rgb(139, 75, 181);
/* oklch */ color: oklch(53.7% 0.167 309.8);
Tailwind
colors: {
  custom: {
    50: '#b080cc',
    500: '#8b4bb5',
    950: '#000000',
  },
}
SCSS
$custom: #8b4bb5;
$custom-light: #b080cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4bb5",
  "rgb": {
    "r": 139,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 276.226,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53704,
    "c": 0.1674,
    "h": 309.8
  },
  "luminance": 0.13857
}

Semantic roles & 50–950 ramp

primary
#8B4BB5
secondary
#A9C696
accent
#D25687
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A13
muted
#807C82

Preview Lab

Preview with #8B4BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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