Skip to content

#ac3fee

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

RGB
172, 63, 238
HSL
277°, 84%, 59%
CMYK
28, 74, 0, 7
Luminance
0.1850

Every format

HEX#ac3fee
RGBrgb(172, 63, 238)
HSLhsl(277, 84%, 59%)
CMYKcmyk(28%, 74%, 0%, 7%)
LABlab(50.1 70.8 -68.5)
LCHlch(50.1 98.5 316.0)
OKLCHoklch(0.602 0.250 309.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.5%
Green24.7%
Blue93.3%

CMYK percentages

Cyan27.7%
Magenta73.5%
Yellow0.0%
Key (black)6.7%

Color previews

#ac3fee text on a black background

contrast 4.70:1

Card sample

#ac3fee text on a white background

contrast 4.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac3fee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac3fee in the Color Lab