Skip to content

#ac4ac2

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

RGB
172, 74, 194
HSL
289°, 50%, 53%
CMYK
11, 62, 0, 24
Luminance
0.1756

Every format

HEX#ac4ac2
RGBrgb(172, 74, 194)
HSLhsl(289, 50%, 53%)
CMYKcmyk(11%, 62%, 0%, 24%)
LABlab(49.0 57.4 -45.2)
LCHlch(49.0 73.0 321.8)
OKLCHoklch(0.585 0.196 319.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac4ac2 on white: 4.65:1
AA ✓ pass · AA-large · AAA
Aa
#ac4ac2 on black: 4.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green29.0%
Blue76.1%

CMYK percentages

Cyan11.3%
Magenta61.9%
Yellow0.0%
Key (black)23.9%

Color previews

#ac4ac2 text on a black background

contrast 4.51:1

Card sample

#ac4ac2 text on a white background

contrast 4.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac4ac2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ac4ac2 in the Color Lab