Skip to content

#ac49cf

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

RGB
172, 73, 207
HSL
284°, 58%, 55%
CMYK
17, 65, 0, 19
Luminance
0.1804

Every format

HEX#ac49cf
RGBrgb(172, 73, 207)
HSLhsl(284, 58%, 55%)
CMYKcmyk(17%, 65%, 0%, 19%)
LABlab(49.5 60.4 -51.8)
LCHlch(49.5 79.5 319.4)
OKLCHoklch(0.591 0.209 316.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac49cf on white: 4.56:1
AA ✓ pass · AA-large · AAA
Aa
#ac49cf on black: 4.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green28.6%
Blue81.2%

CMYK percentages

Cyan16.9%
Magenta64.7%
Yellow0.0%
Key (black)18.8%

Color previews

#ac49cf text on a black background

contrast 4.61:1

Card sample

#ac49cf text on a white background

contrast 4.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac49cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac49cf in the Color Lab