Skip to content

#aa33ff

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

RGB
170, 51, 255
HSL
275°, 100%, 60%
CMYK
33, 80, 0, 0
Luminance
0.1813

Every format

HEX#aa33ff
RGBrgb(170, 51, 255)
HSLhsl(275, 100%, 60%)
CMYKcmyk(33%, 80%, 0%, 0%)
LABlab(49.7 78.1 -78.7)
LCHlch(49.7 110.9 314.8)
OKLCHoklch(0.602 0.276 305.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#aa33ff on white: 4.54:1
AA ✓ pass · AA-large · AAA
Aa
#aa33ff on black: 4.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red66.7%
Green20.0%
Blue100.0%

CMYK percentages

Cyan33.3%
Magenta80.0%
Yellow0.0%
Key (black)0.0%

Color previews

#aa33ff text on a black background

contrast 4.63:1

Card sample

#aa33ff text on a white background

contrast 4.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #aa33ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #aa33ff in the Color Lab