#8B4CB2#8B4CB2

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

Color values

HEX#8B4CB2
RGBrgb(139, 76, 178)
HSLhsl(277, 40%, 50%)
HSVhsv(277, 57%, 70%)
CMYKcmyk(21.9%, 57.3%, 0%, 30.2%)
CIE-LABlab(44.05, 44.71, -43.96)
CIE-LCHlch(44.05, 62.70, 315.49°)
OKLaboklab(53.66% 0.1057 -0.1234)
OKLCHoklch(53.66% 0.163 310.6)
XYZxyz(21.2663, 13.8726, 43.6682)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CB2 #73B24C
analogous
#584CB2 #8B4CB2 #B24CA6
triadic
#8B4CB2 #B28B4C #4CB28B
tetradic
#8B4CB2 #B2584C #73B24C #4CA6B2
square
#8B4CB2 #B2584C #73B24C #4CA6B2
split-complementary
#8B4CB2 #A6B24C #4CB258
monochromatic
#48275C #6A3A87 #8B4CB2 #A776C5 #C3A1D7

Accessibility & contrast

On white

5.56
#8B4CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B4CB2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4CB2#FFFFFF#000000##FFFFFF
##8B4CB21.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B65B5
Deuteranopia (green-blind)
#4369AF
Tritanopia (blue-blind)
#865E78
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b4cb2;
/* rgb */ color: rgb(139, 76, 178);
/* oklch */ color: oklch(53.7% 0.163 310.6);
Tailwind
colors: {
  custom: {
    50: '#b081c9',
    500: '#8b4cb2',
    950: '#000000',
  },
}
SCSS
$custom: #8b4cb2;
$custom-light: #b081c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4cb2",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 277.059,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53663,
    "c": 0.1625,
    "h": 310.6
  },
  "luminance": 0.13872
}

Semantic roles & 50–950 ramp

primary
#8B4CB2
secondary
#A7C496
accent
#D05886
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8B4CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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