Skip to content

#8c4ace

a balanced, vivid violet · warm · closest name: slateblue

RGB
140, 74, 206
HSL
270°, 57%, 55%
CMYK
32, 64, 0, 19
Luminance
0.1493

Every format

HEX#8c4ace
RGBrgb(140, 74, 206)
HSLhsl(270, 57%, 55%)
CMYKcmyk(32%, 64%, 0%, 19%)
LABlab(45.5 52.5 -57.9)
LCHlch(45.5 78.2 312.2)
OKLCHoklch(0.553 0.197 303.6)

Copy-ready code

/* CSS */
color: #8c4ace;
background-color: #8c4ace;
/* Tailwind (arbitrary) */
class="text-[#8c4ace] bg-[#8c4ace]"
/* SCSS */
$brand: #8c4ace;
/* SwiftUI */
Color(red: 0.549, green: 0.290, blue: 0.808)
/* Android */
Color.parseColor("#8c4ace")

Accessibility — WCAG contrast

Aa
#8c4ace on white: 5.27:1
AA ✓ pass · AA-large · AAA
Aa
#8c4ace on black: 3.99:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.9%
Green29.0%
Blue80.8%

CMYK percentages

Cyan32.0%
Magenta64.1%
Yellow0.0%
Key (black)19.2%

Color previews

#8c4ace text on a black background

contrast 3.99:1

Card sample

#8c4ace text on a white background

contrast 5.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8c4ace;
Background color
Panel with #8c4ace background
background-color: #8c4ace;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #8c4ace;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(140, 74, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 74, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8c4ace;
background: linear-gradient(135deg, #8c4ace, #CE4AB8);

Monochromatic scale

Palettes built from #8c4ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8c4ace in the Color Lab