Skip to content

#ae80fd

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

RGB
174, 128, 253
HSL
262°, 97%, 75%
CMYK
31, 49, 0, 1
Luminance
0.3153

Every format

HEX#ae80fd
RGBrgb(174, 128, 253)
HSLhsl(262, 97%, 75%)
CMYKcmyk(31%, 49%, 0%, 1%)
LABlab(63.0 43.2 -56.1)
LCHlch(63.0 70.9 307.6)
OKLCHoklch(0.698 0.180 298.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae80fd on white: 2.87:1
AA ✗ fail · AA-large · AAA
Aa
#ae80fd on black: 7.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green50.2%
Blue99.2%

CMYK percentages

Cyan31.2%
Magenta49.4%
Yellow0.0%
Key (black)0.8%

Color previews

#ae80fd text on a black background

contrast 7.31:1

Card sample

#ae80fd text on a white background

contrast 2.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae80fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae80fd in the Color Lab