Skip to content

#ac3dfd

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

RGB
172, 61, 253
HSL
275°, 98%, 62%
CMYK
32, 76, 0, 1
Luminance
0.1920

Every format

HEX#ac3dfd
RGBrgb(172, 61, 253)
HSLhsl(275, 98%, 62%)
CMYKcmyk(32%, 76%, 0%, 1%)
LABlab(50.9 74.7 -75.5)
LCHlch(50.9 106.2 314.7)
OKLCHoklch(0.611 0.266 306.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac3dfd on white: 4.34:1
AA ✗ fail · AA-large · AAA
Aa
#ac3dfd on black: 4.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green23.9%
Blue99.2%

CMYK percentages

Cyan32.0%
Magenta75.9%
Yellow0.0%
Key (black)0.8%

Color previews

#ac3dfd text on a black background

contrast 4.84:1

Card sample

#ac3dfd text on a white background

contrast 4.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac3dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac3dfd in the Color Lab