Skip to content

#b080f4

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

RGB
176, 128, 244
HSL
265°, 84%, 73%
CMYK
28, 48, 0, 4
Luminance
0.3120

Every format

HEX#b080f4
RGBrgb(176, 128, 244)
HSLhsl(265, 84%, 73%)
CMYKcmyk(28%, 48%, 0%, 4%)
LABlab(62.7 41.6 -51.6)
LCHlch(62.7 66.3 308.8)
OKLCHoklch(0.695 0.170 301.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b080f4 on white: 2.90:1
AA ✗ fail · AA-large · AAA
Aa
#b080f4 on black: 7.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.0%
Green50.2%
Blue95.7%

CMYK percentages

Cyan27.9%
Magenta47.5%
Yellow0.0%
Key (black)4.3%

Color previews

#b080f4 text on a black background

contrast 7.24:1

Card sample

#b080f4 text on a white background

contrast 2.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b080f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b080f4 in the Color Lab