Skip to content

#ae33ff

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

RGB
174, 51, 255
HSL
276°, 100%, 60%
CMYK
32, 80, 0, 0
Luminance
0.1859

Every format

HEX#ae33ff
RGBrgb(174, 51, 255)
HSLhsl(276, 100%, 60%)
CMYKcmyk(32%, 80%, 0%, 0%)
LABlab(50.2 78.7 -77.8)
LCHlch(50.2 110.7 315.3)
OKLCHoklch(0.607 0.277 306.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ae33ff on white: 4.45:1
AA ✗ fail · AA-large · AAA
Aa
#ae33ff on black: 4.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.2%
Green20.0%
Blue100.0%

CMYK percentages

Cyan31.8%
Magenta80.0%
Yellow0.0%
Key (black)0.0%

Color previews

#ae33ff text on a black background

contrast 4.72:1

Card sample

#ae33ff text on a white background

contrast 4.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ae33ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ae33ff in the Color Lab