Skip to content

#ae0cdc

a balanced, electric violet · warm · closest name: magenta

RGB
174, 12, 220
HSL
287°, 90%, 46%
CMYK
21, 95, 0, 14
Luminance
0.1443

Every format

HEX#ae0cdc
RGBrgb(174, 12, 220)
HSLhsl(287, 90%, 46%)
CMYKcmyk(21%, 95%, 0%, 14%)
LABlab(44.8 80.1 -66.8)
LCHlch(44.8 104.3 320.2)
OKLCHoklch(0.561 0.271 315.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae0cdc on white: 5.40:1
AA ✓ pass · AA-large · AAA
Aa
#ae0cdc on black: 3.89:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green4.7%
Blue86.3%

CMYK percentages

Cyan20.9%
Magenta94.5%
Yellow0.0%
Key (black)13.7%

Color previews

#ae0cdc text on a black background

contrast 3.89:1

Card sample

#ae0cdc text on a white background

contrast 5.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae0cdc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae0cdc in the Color Lab