Skip to content

#ac09ff

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

RGB
172, 9, 255
HSL
280°, 100%, 52%
CMYK
33, 97, 0, 0
Luminance
0.1619

Every format

HEX#ac09ff
RGBrgb(172, 9, 255)
HSLhsl(280, 100%, 52%)
CMYKcmyk(33%, 97%, 0%, 0%)
LABlab(47.2 86.4 -82.7)
LCHlch(47.2 119.6 316.3)
OKLCHoklch(0.586 0.297 307.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac09ff on white: 4.96:1
AA ✓ pass · AA-large · AAA
Aa
#ac09ff on black: 4.24:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green3.5%
Blue100.0%

CMYK percentages

Cyan32.5%
Magenta96.5%
Yellow0.0%
Key (black)0.0%

Color previews

#ac09ff text on a black background

contrast 4.24:1

Card sample

#ac09ff text on a white background

contrast 4.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac09ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac09ff in the Color Lab