Skip to content

#8076df

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

RGB
128, 118, 223
HSL
246°, 62%, 67%
CMYK
43, 47, 0, 13
Luminance
0.2287

Every format

HEX#8076df
RGBrgb(128, 118, 223)
HSLhsl(246, 62%, 67%)
CMYKcmyk(43%, 47%, 0%, 13%)
LABlab(54.9 29.6 -52.5)
LCHlch(54.9 60.3 299.5)
OKLCHoklch(0.623 0.154 285.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8076df on white: 3.77:1
AA ✗ fail · AA-large · AAA
Aa
#8076df on black: 5.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red50.2%
Green46.3%
Blue87.5%

CMYK percentages

Cyan42.6%
Magenta47.1%
Yellow0.0%
Key (black)12.5%

Color previews

#8076df text on a black background

contrast 5.57:1

Card sample

#8076df text on a white background

contrast 3.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8076df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8076df in the Color Lab