Skip to content

#8076ff

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

RGB
128, 118, 255
HSL
244°, 100%, 73%
CMYK
50, 54, 0, 0
Luminance
0.2477

Every format

HEX#8076ff
RGBrgb(128, 118, 255)
HSLhsl(244, 100%, 73%)
CMYKcmyk(50%, 54%, 0%, 0%)
LABlab(56.9 38.9 -67.3)
LCHlch(56.9 77.7 300.1)
OKLCHoklch(0.644 0.197 282.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8076ff on white: 3.53:1
AA ✗ fail · AA-large · AAA
Aa
#8076ff on black: 5.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red50.2%
Green46.3%
Blue100.0%

CMYK percentages

Cyan49.8%
Magenta53.7%
Yellow0.0%
Key (black)0.0%

Color previews

#8076ff text on a black background

contrast 5.95:1

Card sample

#8076ff text on a white background

contrast 3.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8076ff;
Background color
Panel with #8076ff background
background-color: #8076ff;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(128, 118, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 118, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8076ff;
background: linear-gradient(135deg, #8076ff, #DB76FF);

Monochromatic scale

Palettes built from #8076ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8076ff in the Color Lab