Skip to content

#ac3dfb

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

RGB
172, 61, 251
HSL
275°, 96%, 61%
CMYK
32, 76, 0, 2
Luminance
0.1907

Every format

HEX#ac3dfb
RGBrgb(172, 61, 251)
HSLhsl(275, 96%, 61%)
CMYKcmyk(32%, 76%, 0%, 2%)
LABlab(50.8 74.3 -74.7)
LCHlch(50.8 105.3 314.8)
OKLCHoklch(0.609 0.264 306.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.5%
Green23.9%
Blue98.4%

CMYK percentages

Cyan31.5%
Magenta75.7%
Yellow0.0%
Key (black)1.6%

Color previews

#ac3dfb text on a black background

contrast 4.81:1

Card sample

#ac3dfb text on a white background

contrast 4.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac3dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac3dfb in the Color Lab