Skip to content

#ad33ff

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

RGB
173, 51, 255
HSL
276°, 100%, 60%
CMYK
32, 80, 0, 0
Luminance
0.1847

Every format

HEX#ad33ff
RGBrgb(173, 51, 255)
HSLhsl(276, 100%, 60%)
CMYKcmyk(32%, 80%, 0%, 0%)
LABlab(50.1 78.5 -78.0)
LCHlch(50.1 110.7 315.2)
OKLCHoklch(0.606 0.277 306.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad33ff on white: 4.47:1
AA ✗ fail · AA-large · AAA
Aa
#ad33ff on black: 4.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green20.0%
Blue100.0%

CMYK percentages

Cyan32.2%
Magenta80.0%
Yellow0.0%
Key (black)0.0%

Color previews

#ad33ff text on a black background

contrast 4.69:1

Card sample

#ad33ff text on a white background

contrast 4.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad33ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad33ff in the Color Lab