Skip to content

#ae55ff

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

RGB
174, 85, 255
HSL
271°, 100%, 67%
CMYK
32, 67, 0, 0
Luminance
0.2272

Every format

HEX#ae55ff
RGBrgb(174, 85, 255)
HSLhsl(271, 100%, 67%)
CMYKcmyk(32%, 67%, 0%, 0%)
LABlab(54.8 65.7 -70.4)
LCHlch(54.8 96.3 313.0)
OKLCHoklch(0.639 0.242 304.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae55ff on white: 3.79:1
AA ✗ fail · AA-large · AAA
Aa
#ae55ff on black: 5.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green33.3%
Blue100.0%

CMYK percentages

Cyan31.8%
Magenta66.7%
Yellow0.0%
Key (black)0.0%

Color previews

#ae55ff text on a black background

contrast 5.54:1

Card sample

#ae55ff text on a white background

contrast 3.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae55ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae55ff in the Color Lab