Skip to content

#8c80fd

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

RGB
140, 128, 253
HSL
246°, 97%, 75%
CMYK
45, 49, 0, 1
Luminance
0.2811

Every format

HEX#8c80fd
RGBrgb(140, 128, 253)
HSLhsl(246, 97%, 75%)
CMYKcmyk(45%, 49%, 0%, 1%)
LABlab(60.0 35.1 -61.1)
LCHlch(60.0 70.4 299.9)
OKLCHoklch(0.669 0.179 284.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8c80fd on white: 3.17:1
AA ✗ fail · AA-large · AAA
Aa
#8c80fd on black: 6.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.9%
Green50.2%
Blue99.2%

CMYK percentages

Cyan44.7%
Magenta49.4%
Yellow0.0%
Key (black)0.8%

Color previews

#8c80fd text on a black background

contrast 6.62:1

Card sample

#8c80fd text on a white background

contrast 3.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8c80fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8c80fd in the Color Lab