Skip to content

#ae4fdf

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

RGB
174, 79, 223
HSL
280°, 69%, 59%
CMYK
22, 65, 0, 13
Luminance
0.1992

Every format

HEX#ae4fdf
RGBrgb(174, 79, 223)
HSLhsl(280, 69%, 59%)
CMYKcmyk(22%, 65%, 0%, 13%)
LABlab(51.8 61.4 -57.3)
LCHlch(51.8 84.0 317.0)
OKLCHoklch(0.611 0.218 312.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae4fdf on white: 4.21:1
AA ✗ fail · AA-large · AAA
Aa
#ae4fdf on black: 4.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green31.0%
Blue87.5%

CMYK percentages

Cyan22.0%
Magenta64.6%
Yellow0.0%
Key (black)12.5%

Color previews

#ae4fdf text on a black background

contrast 4.98:1

Card sample

#ae4fdf text on a white background

contrast 4.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae4fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae4fdf in the Color Lab