Skip to content

#ae64fd

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

RGB
174, 100, 253
HSL
269°, 98%, 69%
CMYK
31, 61, 0, 1
Luminance
0.2520

Every format

HEX#ae64fd
RGBrgb(174, 100, 253)
HSLhsl(269, 98%, 69%)
CMYKcmyk(31%, 61%, 0%, 1%)
LABlab(57.3 58.0 -65.2)
LCHlch(57.3 87.3 311.7)
OKLCHoklch(0.657 0.221 303.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae64fd on white: 3.48:1
AA ✗ fail · AA-large · AAA
Aa
#ae64fd on black: 6.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green39.2%
Blue99.2%

CMYK percentages

Cyan31.2%
Magenta60.5%
Yellow0.0%
Key (black)0.8%

Color previews

#ae64fd text on a black background

contrast 6.04:1

Card sample

#ae64fd text on a white background

contrast 3.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae64fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae64fd in the Color Lab