Skip to content

#ac3cfd

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

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

Every format

HEX#ac3cfd
RGBrgb(172, 60, 253)
HSLhsl(275, 98%, 61%)
CMYKcmyk(32%, 76%, 0%, 1%)
LABlab(50.8 75.0 -75.7)
LCHlch(50.8 106.6 314.7)
OKLCHoklch(0.610 0.267 306.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac3cfd on white: 4.36:1
AA ✗ fail · AA-large · AAA
Aa
#ac3cfd on black: 4.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan32.0%
Magenta76.3%
Yellow0.0%
Key (black)0.8%

Color previews

#ac3cfd text on a black background

contrast 4.82:1

Card sample

#ac3cfd text on a white background

contrast 4.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac3cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac3cfd in the Color Lab