#8B4BCB#8B4BCB

#8B4BCB is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.1% C 0.192 H 303.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8B4BCB
RGBrgb(139, 75, 203)
HSLhsl(270, 55%, 55%)
HSVhsv(270, 63%, 80%)
CMYKcmyk(31.5%, 63.1%, 0%, 20.4%)
CIE-LABlab(45.40, 51.09, -56.34)
CIE-LCHlch(45.40, 76.06, 312.20°)
OKLaboklab(55.15% 0.1066 -0.1597)
OKLCHoklch(55.15% 0.192 303.7)
XYZxyz(23.9406, 14.8330, 58.0901)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4BCB #8BCB4B
analogous
#4B4BCB #8B4BCB #CB4BCB
triadic
#8B4BCB #CB8B4B #4BCB8B
tetradic
#8B4BCB #CB4B4B #8BCB4B #4BCBCB
square
#8B4BCB #CB4B4B #8BCB4B #4BCBCB
split-complementary
#8B4BCB #CBCB4B #4BCB4B
monochromatic
#4E2379 #6C31A8 #8B4BCB #AA7AD9 #C8AAE6

Accessibility & contrast

On white

5.29
#8B4BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8B4BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4BCB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4BCB#FFFFFF#000000##FFFFFF
##8B4BCB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#266BC8
Tritanopia (blue-blind)
#7F6684
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8b4bcb;
/* rgb */ color: rgb(139, 75, 203);
/* oklch */ color: oklch(55.1% 0.192 303.7);
Tailwind
colors: {
  custom: {
    50: '#b181dc',
    500: '#8b4bcb',
    950: '#000000',
  },
}
SCSS
$custom: #8b4bcb;
$custom-light: #b181dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4bcb",
  "rgb": {
    "r": 139,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 270,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55145,
    "c": 0.19202,
    "h": 303.7
  },
  "luminance": 0.14833
}

Semantic roles & 50–950 ramp

primary
#8B4BCB
secondary
#B9D49E
accent
#DF4994
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B4BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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