#8B59BB#8B59BB

#8B59BB is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.2% C 0.152 H 305.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8B59BB
RGBrgb(139, 89, 187)
HSLhsl(271, 42%, 54%)
HSVhsv(271, 52%, 73%)
CMYKcmyk(25.7%, 52.4%, 0%, 26.7%)
CIE-LABlab(47.26, 39.73, -44.10)
CIE-LCHlch(47.26, 59.36, 312.02°)
OKLaboklab(56.19% 0.0888 -0.1239)
OKLCHoklch(56.19% 0.152 305.6)
XYZxyz(23.1876, 16.2217, 48.9136)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B59BB #89BB59
analogous
#5A59BB #8B59BB #BB59BA
triadic
#8B59BB #BB8B59 #59BB8B
tetradic
#8B59BB #BB5A59 #89BB59 #59BABB
square
#8B59BB #BB5A59 #89BB59 #59BABB
split-complementary
#8B59BB #BABB59 #59BB5A
monochromatic
#4D2D6D #6C3E98 #8B59BB #A984CD #C8B0DF

Accessibility & contrast

On white

4.95
#8B59BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8B59BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B59BB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B59BB#FFFFFF#000000##FFFFFF
##8B59BB1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBE
Deuteranopia (green-blind)
#4970B9
Tritanopia (blue-blind)
#836B81
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b59bb;
/* rgb */ color: rgb(139, 89, 187);
/* oklch */ color: oklch(56.2% 0.152 305.6);
Tailwind
colors: {
  custom: {
    50: '#af89d0',
    500: '#8b59bb',
    950: '#000000',
  },
}
SCSS
$custom: #8b59bb;
$custom-light: #af89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b59bb",
  "rgb": {
    "r": 139,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 270.612,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56195,
    "c": 0.15239,
    "h": 305.6
  },
  "luminance": 0.16222
}

Semantic roles & 50–950 ramp

primary
#8B59BB
secondary
#B7CDA3
accent
#D25693
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8B59BB

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

Preview Lab → · Contrast checker → · Palette generator →

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