Skip to content

#ac3ddf

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

RGB
172, 61, 223
HSL
281°, 72%, 56%
CMYK
23, 73, 0, 13
Luminance
0.1744

Every format

HEX#ac3ddf
RGBrgb(172, 61, 223)
HSLhsl(281, 72%, 56%)
CMYKcmyk(23%, 73%, 0%, 13%)
LABlab(48.8 68.5 -62.1)
LCHlch(48.8 92.5 317.8)
OKLCHoklch(0.589 0.239 312.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac3ddf on white: 4.68:1
AA ✓ pass · AA-large · AAA
Aa
#ac3ddf on black: 4.49:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green23.9%
Blue87.5%

CMYK percentages

Cyan22.9%
Magenta72.6%
Yellow0.0%
Key (black)12.5%

Color previews

#ac3ddf text on a black background

contrast 4.49:1

Card sample

#ac3ddf text on a white background

contrast 4.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac3ddf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac3ddf in the Color Lab