Skip to content

#b080f0

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

RGB
176, 128, 240
HSL
266°, 79%, 72%
CMYK
27, 47, 0, 6
Luminance
0.3096

Every format

HEX#b080f0
RGBrgb(176, 128, 240)
HSLhsl(266, 79%, 72%)
CMYKcmyk(27%, 47%, 0%, 6%)
LABlab(62.5 40.6 -49.7)
LCHlch(62.5 64.2 309.2)
OKLCHoklch(0.693 0.165 302.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b080f0 on white: 2.92:1
AA ✗ fail · AA-large · AAA
Aa
#b080f0 on black: 7.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.0%
Green50.2%
Blue94.1%

CMYK percentages

Cyan26.7%
Magenta46.7%
Yellow0.0%
Key (black)5.9%

Color previews

#b080f0 text on a black background

contrast 7.19:1

Card sample

#b080f0 text on a white background

contrast 2.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b080f0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b080f0 in the Color Lab