Skip to content

#ac10df

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

RGB
172, 16, 223
HSL
285°, 87%, 47%
CMYK
23, 93, 0, 13
Luminance
0.1447

Every format

HEX#ac10df
RGBrgb(172, 16, 223)
HSLhsl(285, 87%, 47%)
CMYKcmyk(23%, 93%, 0%, 13%)
LABlab(44.9 79.9 -68.4)
LCHlch(44.9 105.2 319.4)
OKLCHoklch(0.562 0.271 314.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac10df on white: 5.39:1
AA ✓ pass · AA-large · AAA
Aa
#ac10df on black: 3.89:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green6.3%
Blue87.5%

CMYK percentages

Cyan22.9%
Magenta92.8%
Yellow0.0%
Key (black)12.5%

Color previews

#ac10df text on a black background

contrast 3.89:1

Card sample

#ac10df text on a white background

contrast 5.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac10df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac10df in the Color Lab