Skip to content

#ae12df

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

RGB
174, 18, 223
HSL
286°, 85%, 47%
CMYK
22, 92, 0, 13
Luminance
0.1476

Every format

HEX#ae12df
RGBrgb(174, 18, 223)
HSLhsl(286, 85%, 47%)
CMYKcmyk(22%, 92%, 0%, 13%)
LABlab(45.3 79.9 -67.8)
LCHlch(45.3 104.8 319.7)
OKLCHoklch(0.565 0.271 314.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae12df on white: 5.31:1
AA ✓ pass · AA-large · AAA
Aa
#ae12df on black: 3.95:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green7.1%
Blue87.5%

CMYK percentages

Cyan22.0%
Magenta91.9%
Yellow0.0%
Key (black)12.5%

Color previews

#ae12df text on a black background

contrast 3.95:1

Card sample

#ae12df text on a white background

contrast 5.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae12df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae12df in the Color Lab