#8B4ACC#8B4ACC

#8B4ACC is a mid, vivid violet. Relative luminance 0.147; OKLCH L 55.1% C 0.194 H 303.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8B4ACC
RGBrgb(139, 74, 204)
HSLhsl(270, 56%, 55%)
HSVhsv(270, 64%, 80%)
CMYKcmyk(31.9%, 63.7%, 0%, 20%)
CIE-LABlab(45.28, 51.84, -57.11)
CIE-LCHlch(45.28, 77.13, 312.23°)
OKLaboklab(55.08% 0.1077 -0.162)
OKLCHoklch(55.08% 0.194 303.6)
XYZxyz(23.9928, 14.7462, 58.6973)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4ACC #8BCC4A
analogous
#4A4ACC #8B4ACC #CC4ACC
triadic
#8B4ACC #CC8B4A #4ACC8B
tetradic
#8B4ACC #CC4A4A #8BCC4A #4ACCCC
square
#8B4ACC #CC4A4A #8BCC4A #4ACCCC
split-complementary
#8B4ACC #CCCC4A #4ACC4A
monochromatic
#4E2279 #6C30A9 #8B4ACC #AA7AD9 #C8A9E7

Accessibility & contrast

On white

5.32
#8B4ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8B4ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4ACC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4ACC#FFFFFF#000000##FFFFFF
##8B4ACC1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#226BC9
Tritanopia (blue-blind)
#7F6684
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8b4acc;
/* rgb */ color: rgb(139, 74, 204);
/* oklch */ color: oklch(55.1% 0.194 303.6);
Tailwind
colors: {
  custom: {
    50: '#b180dc',
    500: '#8b4acc',
    950: '#000000',
  },
}
SCSS
$custom: #8b4acc;
$custom-light: #b180dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4acc",
  "rgb": {
    "r": 139,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 270,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5508,
    "c": 0.19449,
    "h": 303.6
  },
  "luminance": 0.14746
}

Semantic roles & 50–950 ramp

primary
#8B4ACC
secondary
#B9D49D
accent
#DF4894
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B4ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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