Skip to content

#8c80eb

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

RGB
140, 128, 235
HSL
247°, 73%, 71%
CMYK
40, 46, 0, 8
Luminance
0.2701

Every format

HEX#8c80eb
RGBrgb(140, 128, 235)
HSLhsl(247, 73%, 71%)
CMYKcmyk(40%, 46%, 0%, 8%)
LABlab(59.0 30.1 -52.7)
LCHlch(59.0 60.7 299.7)
OKLCHoklch(0.658 0.155 286.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8c80eb on white: 3.28:1
AA ✗ fail · AA-large · AAA
Aa
#8c80eb on black: 6.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.9%
Green50.2%
Blue92.2%

CMYK percentages

Cyan40.4%
Magenta45.5%
Yellow0.0%
Key (black)7.8%

Color previews

#8c80eb text on a black background

contrast 6.40:1

Card sample

#8c80eb text on a white background

contrast 3.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8c80eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8c80eb in the Color Lab