Skip to content

#ac33ff

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

RGB
172, 51, 255
HSL
276°, 100%, 60%
CMYK
33, 80, 0, 0
Luminance
0.1836

Every format

HEX#ac33ff
RGBrgb(172, 51, 255)
HSLhsl(276, 100%, 60%)
CMYKcmyk(33%, 80%, 0%, 0%)
LABlab(49.9 78.4 -78.3)
LCHlch(49.9 110.8 315.1)
OKLCHoklch(0.604 0.276 306.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac33ff on white: 4.50:1
AA ✓ pass · AA-large · AAA
Aa
#ac33ff on black: 4.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green20.0%
Blue100.0%

CMYK percentages

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

Color previews

#ac33ff text on a black background

contrast 4.67:1

Card sample

#ac33ff text on a white background

contrast 4.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac33ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac33ff in the Color Lab