Skip to content

#ac00de

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

RGB
172, 0, 222
HSL
287°, 100%, 44%
CMYK
23, 100, 0, 13
Luminance
0.1404

Every format

HEX#ac00de
RGBrgb(172, 0, 222)
HSLhsl(287, 100%, 44%)
CMYKcmyk(23%, 100%, 0%, 13%)
LABlab(44.3 81.3 -68.8)
LCHlch(44.3 106.5 319.7)
OKLCHoklch(0.557 0.275 314.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac00de on white: 5.51:1
AA ✓ pass · AA-large · AAA
Aa
#ac00de on black: 3.81:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green0.0%
Blue87.1%

CMYK percentages

Cyan22.5%
Magenta100.0%
Yellow0.0%
Key (black)12.9%

Color previews

#ac00de text on a black background

contrast 3.81:1

Card sample

#ac00de text on a white background

contrast 5.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac00de

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac00de in the Color Lab