Skip to content

#ac3fda

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

RGB
172, 63, 218
HSL
282°, 68%, 55%
CMYK
21, 71, 0, 15
Luminance
0.1739

Every format

HEX#ac3fda
RGBrgb(172, 63, 218)
HSLhsl(282, 68%, 55%)
CMYKcmyk(21%, 71%, 0%, 15%)
LABlab(48.8 66.7 -59.3)
LCHlch(48.8 89.3 318.4)
OKLCHoklch(0.588 0.232 313.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.5%
Green24.7%
Blue85.5%

CMYK percentages

Cyan21.1%
Magenta71.1%
Yellow0.0%
Key (black)14.5%

Color previews

#ac3fda text on a black background

contrast 4.48:1

Card sample

#ac3fda text on a white background

contrast 4.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac3fda

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac3fda in the Color Lab