#8B4CB4#8B4CB4

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

Color values

HEX#8B4CB4
RGBrgb(139, 76, 180)
HSLhsl(276, 41%, 50%)
HSVhsv(276, 58%, 71%)
CMYKcmyk(22.8%, 57.8%, 0%, 29.4%)
CIE-LABlab(44.17, 45.17, -44.95)
CIE-LCHlch(44.17, 63.72, 315.14°)
OKLaboklab(53.79% 0.1058 -0.1263)
OKLCHoklch(53.79% 0.165 309.9)
XYZxyz(21.4686, 13.9535, 44.7335)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CB4 #75B44C
analogous
#574CB4 #8B4CB4 #B44CA9
triadic
#8B4CB4 #B48B4C #4CB48B
tetradic
#8B4CB4 #B4574C #75B44C #4CA9B4
square
#8B4CB4 #B4574C #75B44C #4CA9B4
split-complementary
#8B4CB4 #A9B44C #4CB457
monochromatic
#49275E #6A3A89 #8B4CB4 #A777C6 #C3A2D8

Accessibility & contrast

On white

5.54
#8B4CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8B4CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4CB4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4CB4#FFFFFF#000000##FFFFFF
##8B4CB41.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2966B7
Deuteranopia (green-blind)
#4169B1
Tritanopia (blue-blind)
#865F79
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b4cb4;
/* rgb */ color: rgb(139, 76, 180);
/* oklch */ color: oklch(53.8% 0.165 309.9);
Tailwind
colors: {
  custom: {
    50: '#b081cb',
    500: '#8b4cb4',
    950: '#000000',
  },
}
SCSS
$custom: #8b4cb4;
$custom-light: #b081cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4cb4",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 276.346,
    "s": 40.945,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53786,
    "c": 0.16475,
    "h": 309.9
  },
  "luminance": 0.13953
}

Semantic roles & 50–950 ramp

primary
#8B4CB4
secondary
#A9C597
accent
#D15787
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8B4CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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