Skip to content

#ac3fe2

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

RGB
172, 63, 226
HSL
280°, 74%, 57%
CMYK
24, 72, 0, 11
Luminance
0.1782

Every format

HEX#ac3fe2
RGBrgb(172, 63, 226)
HSLhsl(280, 74%, 57%)
CMYKcmyk(24%, 72%, 0%, 11%)
LABlab(49.3 68.3 -63.0)
LCHlch(49.3 93.0 317.3)
OKLCHoklch(0.593 0.239 311.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac3fe2 on white: 4.60:1
AA ✓ pass · AA-large · AAA
Aa
#ac3fe2 on black: 4.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green24.7%
Blue88.6%

CMYK percentages

Cyan23.9%
Magenta72.1%
Yellow0.0%
Key (black)11.4%

Color previews

#ac3fe2 text on a black background

contrast 4.56:1

Card sample

#ac3fe2 text on a white background

contrast 4.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac3fe2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac3fe2 in the Color Lab