Skip to content

#a080eb

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

RGB
160, 128, 235
HSL
258°, 73%, 71%
CMYK
32, 46, 0, 8
Luminance
0.2891

Every format

HEX#a080eb
RGBrgb(160, 128, 235)
HSLhsl(258, 73%, 71%)
CMYKcmyk(32%, 46%, 0%, 8%)
LABlab(60.7 35.1 -49.9)
LCHlch(60.7 61.0 305.2)
OKLCHoklch(0.675 0.156 295.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a080eb on white: 3.10:1
AA ✗ fail · AA-large · AAA
Aa
#a080eb on black: 6.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.7%
Green50.2%
Blue92.2%

CMYK percentages

Cyan31.9%
Magenta45.5%
Yellow0.0%
Key (black)7.8%

Color previews

#a080eb text on a black background

contrast 6.78:1

Card sample

#a080eb text on a white background

contrast 3.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a080eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a080eb in the Color Lab