Skip to content

#ac3fdf

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

RGB
172, 63, 223
HSL
281°, 71%, 56%
CMYK
23, 72, 0, 13
Luminance
0.1765

Every format

HEX#ac3fdf
RGBrgb(172, 63, 223)
HSLhsl(281, 71%, 56%)
CMYKcmyk(23%, 72%, 0%, 13%)
LABlab(49.1 67.7 -61.6)
LCHlch(49.1 91.6 317.7)
OKLCHoklch(0.591 0.236 312.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac3fdf on white: 4.64:1
AA ✓ pass · AA-large · AAA
Aa
#ac3fdf on black: 4.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green24.7%
Blue87.5%

CMYK percentages

Cyan22.9%
Magenta71.7%
Yellow0.0%
Key (black)12.5%

Color previews

#ac3fdf text on a black background

contrast 4.53:1

Card sample

#ac3fdf text on a white background

contrast 4.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac3fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac3fdf in the Color Lab