#8B54BB#8B54BB

#8B54BB is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.4% C 0.160 H 306.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8B54BB
RGBrgb(139, 84, 187)
HSLhsl(272, 43%, 53%)
HSVhsv(272, 55%, 73%)
CMYKcmyk(25.7%, 55.1%, 0%, 26.7%)
CIE-LABlab(46.20, 42.50, -45.79)
CIE-LCHlch(46.20, 62.47, 312.86°)
OKLaboklab(55.41% 0.0955 -0.1288)
OKLCHoklch(55.41% 0.16 306.5)
XYZxyz(22.7856, 15.4177, 48.7796)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B54BB #84BB54
analogous
#5754BB #8B54BB #BB54B7
triadic
#8B54BB #BB8B54 #54BB8B
tetradic
#8B54BB #BB5754 #84BB54 #54B7BB
square
#8B54BB #BB5754 #84BB54 #54B7BB
split-complementary
#8B54BB #B7BB54 #54BB57
monochromatic
#4C2A6A #6C3C96 #8B54BB #A980CC #C6ACDE

Accessibility & contrast

On white

5.14
#8B54BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8B54BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B54BB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B54BB#FFFFFF#000000##FFFFFF
##8B54BB1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CBE
Deuteranopia (green-blind)
#446EB8
Tritanopia (blue-blind)
#83677F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b54bb;
/* rgb */ color: rgb(139, 84, 187);
/* oklch */ color: oklch(55.4% 0.160 306.5);
Tailwind
colors: {
  custom: {
    50: '#b086d0',
    500: '#8b54bb',
    950: '#000000',
  },
}
SCSS
$custom: #8b54bb;
$custom-light: #b086d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b54bb",
  "rgb": {
    "r": 139,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 272.039,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5541,
    "c": 0.16034,
    "h": 306.5
  },
  "luminance": 0.15417
}

Semantic roles & 50–950 ramp

primary
#8B54BB
secondary
#B4CC9F
accent
#D35590
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8B54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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