Skip to content

#8c6df4

a light, electric blue · warm · closest name: slateblue

RGB
140, 109, 244
HSL
254°, 86%, 69%
CMYK
43, 55, 0, 4
Luminance
0.2304

Every format

HEX#8c6df4
RGBrgb(140, 109, 244)
HSLhsl(254, 86%, 69%)
CMYKcmyk(43%, 55%, 0%, 4%)
LABlab(55.1 43.5 -63.9)
LCHlch(55.1 77.3 304.2)
OKLCHoklch(0.631 0.194 290.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8c6df4 on white: 3.74:1
AA ✗ fail · AA-large · AAA
Aa
#8c6df4 on black: 5.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.9%
Green42.7%
Blue95.7%

CMYK percentages

Cyan42.6%
Magenta55.3%
Yellow0.0%
Key (black)4.3%

Color previews

#8c6df4 text on a black background

contrast 5.61:1

Card sample

#8c6df4 text on a white background

contrast 3.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8c6df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8c6df4 in the Color Lab