Skip to content

#ac3dff

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

RGB
172, 61, 255
HSL
274°, 100%, 62%
CMYK
33, 76, 0, 0
Luminance
0.1933

Every format

HEX#ac3dff
RGBrgb(172, 61, 255)
HSLhsl(274, 100%, 62%)
CMYKcmyk(33%, 76%, 0%, 0%)
LABlab(51.1 75.1 -76.4)
LCHlch(51.1 107.1 314.5)
OKLCHoklch(0.612 0.268 305.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.5%
Green23.9%
Blue100.0%

CMYK percentages

Cyan32.5%
Magenta76.1%
Yellow0.0%
Key (black)0.0%

Color previews

#ac3dff text on a black background

contrast 4.87:1

Card sample

#ac3dff text on a white background

contrast 4.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac3dff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac3dff in the Color Lab