Skip to content

#8c39df

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

RGB
140, 57, 223
HSL
270°, 72%, 55%
CMYK
37, 74, 0, 13
Luminance
0.1383

Every format

HEX#8c39df
RGBrgb(140, 57, 223)
HSLhsl(270, 72%, 55%)
CMYKcmyk(37%, 74%, 0%, 13%)
LABlab(44.0 64.3 -70.1)
LCHlch(44.0 95.1 312.5)
OKLCHoklch(0.546 0.235 301.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8c39df on white: 5.58:1
AA ✓ pass · AA-large · AAA
Aa
#8c39df on black: 3.77:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.9%
Green22.4%
Blue87.5%

CMYK percentages

Cyan37.2%
Magenta74.4%
Yellow0.0%
Key (black)12.5%

Color previews

#8c39df text on a black background

contrast 3.77:1

Card sample

#8c39df text on a white background

contrast 5.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8c39df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8c39df in the Color Lab