Skip to content

#ac3ffc

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

RGB
172, 63, 252
HSL
275°, 97%, 62%
CMYK
32, 75, 0, 1
Luminance
0.1935

Every format

HEX#ac3ffc
RGBrgb(172, 63, 252)
HSLhsl(275, 97%, 62%)
CMYKcmyk(32%, 75%, 0%, 1%)
LABlab(51.1 73.7 -74.7)
LCHlch(51.1 105.0 314.6)
OKLCHoklch(0.612 0.263 306.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac3ffc on white: 4.31:1
AA ✗ fail · AA-large · AAA
Aa
#ac3ffc on black: 4.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green24.7%
Blue98.8%

CMYK percentages

Cyan31.7%
Magenta75.0%
Yellow0.0%
Key (black)1.2%

Color previews

#ac3ffc text on a black background

contrast 4.87:1

Card sample

#ac3ffc text on a white background

contrast 4.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac3ffc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac3ffc in the Color Lab