Skip to content

#ae5df0

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

RGB
174, 93, 240
HSL
273°, 83%, 65%
CMYK
28, 61, 0, 6
Luminance
0.2312

Every format

HEX#ae5df0
RGBrgb(174, 93, 240)
HSLhsl(273, 83%, 65%)
CMYKcmyk(28%, 61%, 0%, 6%)
LABlab(55.2 58.5 -61.4)
LCHlch(55.2 84.8 313.6)
OKLCHoklch(0.639 0.216 306.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae5df0 on white: 3.73:1
AA ✗ fail · AA-large · AAA
Aa
#ae5df0 on black: 5.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green36.5%
Blue94.1%

CMYK percentages

Cyan27.5%
Magenta61.2%
Yellow0.0%
Key (black)5.9%

Color previews

#ae5df0 text on a black background

contrast 5.62:1

Card sample

#ae5df0 text on a white background

contrast 3.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae5df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae5df0 in the Color Lab